Running sphinx with fortran_autodoc on an empty module fails at
parsing fortran sources...{}
Exception occurred:
File ".../sphinx-fortran/sphinxfortran/fortran_autodoc.py", line 347, in scan
m = block['vardescsearch'](line)
KeyError: 'vardescsearch'
Quick fix: add a check if 'vardescsearch' in block.keys(): before line 347 in fortran_autodoc.py. A better solution would be to unify the initialization of block for all cases.
Running sphinx with fortran_autodoc on an empty module fails at
Quick fix: add a check
if 'vardescsearch' in block.keys():
before line 347 infortran_autodoc.py
. A better solution would be to unify the initialization ofblock
for all cases.