la, 2009-10-03 kello 20:14 +0000, Guenter Milde kirjoitti: > On 2009-10-03, Oben wrote: > > > In my workflow I really prefer to have all documentation in the source > > file and thus would benefit from sections in docstrings. > > You might consider using PyLit (http://pylit.berlios.de).
Another option is to use the autodoc-process-docstring hook [1], and mangle all sections to ".. rubric::", except for automodule::. This of course loses TOC information. .. [1] http://sphinx.pocoo.org/ext/autodoc.html#docstring-preprocessing -- Pauli Virtanen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---