Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modules are found by autodoc only if written in lower case in the .rst, even if they are upper case in the code #37

Open
sradanov opened this issue Jul 22, 2021 · 0 comments

Comments

@sradanov
Copy link
Contributor

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 to be given in lower case to .. f:automodule:: in order to get found by the format_module method. Passing the module name as it occurs in the fortran code to . f:automodule:: makes the format_module method raise an F90toRstException('Unknown module'), which is quite counter intuitive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant