sphinx-fortran
sphinx-fortran copied to clipboard
Fortran domain and autodoc extensions to Sphinx
How can I document a type-bound procedure with sphinx-fortran? Suppose I had the code module mymod type foo real :: a contains subroutine do_stuff end type foo contains subroutine do_stuff(self)...
An argument of a subroutine declared as DOUBLE PRECISION,DIMENSION(:,:),INTENT(IN):: MYVAR appears as - **precision** [double] in the documentation, instead of something like - **myvar**(*,*)[double precision, in] I suppose something is...
Module names that are written in upper case in the fortran code are stored in lower case in self.modules of the F90toRst class. This means that the module name has...
Hello, when using sphinx-fortran on windows systems, I noticed that the function get_src in module ``fortran_autodoc.py`` was wrongly processing filenames with full path stored in block['from']. On win system, a...
Hi, please change the following lines of class FortranAutoSrcfileDirective(Directive), method run ```python if objtype: objtype = objtype.split(' ,') ``` with: ```python if objtype: objtype = objtype.split(',') objtype = [o.strip() for...
PC configuration: OS ubuntu 16.04 I read some blogs about it includes: google groups(https://groups.google.com/forum/#!topic/sphinx-users/gQfMxDsXQo0) read the file(https://sphinx-fortran.readthedocs.io/en/latest/) and related GitHub I found it hasn't update for a while, is it...
When I try to use fortran_autodoc on a source file that uses an abstract interface, sphinx crashes with ``` Extension error: Handler for event 'builder-inited' threw an exception (exception: crackline:...
Running sphinx with fortran_autodoc on an empty module fails at ```python parsing fortran sources...{} Exception occurred: File ".../sphinx-fortran/sphinxfortran/fortran_autodoc.py", line 347, in scan m = block['vardescsearch'](line) KeyError: 'vardescsearch' ``` Quick fix:...
Why in https://github.com/VACUMM/sphinx-fortran/blob/master/sphinxfortran/fortran_autodoc.py#L1674, do you lowercase the filename of source files ? My source filenames contain upper letter and consequently your subroutine failed to scan them. Can you remove this...
Dear developers, I encountered a error when I was making a document: File "~/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/sphinxfortran/fortran_autodoc.py", line 348, in scan m = block['vardescsearch'](line) KeyError: 'vardescsearch' I have solved the error by changing...