Hi, I'm the author of this extension. In fact, there are two extensions : - One for documentation fortran code manually : a sphinx "domain". - One usinf f2py and some hacks to generate documentation using the first extension. Here is an example : http://relay.actimar.fr/~raynaud/enkfplatform/
It all but stable and complete, that's why it's a bit hidden on the net! And in fact, I don't have much time to work on it right now, and publish it at the same place as other sphinx extensions. If someone is interested spending some time to improve it... However, I can help you setting up sphinx for using using the current version. In a few words, you can do it in two steps : - Set the fortran_src configuration variable to a list (or glob) of absolute path to you fortran code (list of files, glob like *.f90, directories, etc). - Call the approritate directives, like : .. f:fautomodule: modulename On 7 juil, 01:39, Mark Andrews <andrews.ma...@gmail.com> wrote: > Hello, > I am new to this group. I have a quick question. I write a lot of > mixed fortran+python code, i.e. called external fortran modules using > f2py. I use sphinx for the documentation of the python (obviously), > but would like to do the same with the fortran code and then have > everything available a single project on a sphinx generate html manual > website. I presume this can be done by writing an extension. In fact, > I think something like this already > exists:http://www.ifremer.fr/vacumm/library/sphinxext.fortran_autodoc.html > > I have a bit of trouble following this, as my French is not too good. > Does anyone know about this extension and whether it works? Otherwise, > does anyone know of other fortran autodocumentation extensions for > sphinx? > > many thanks, > -m -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.