-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 26.11.2010 21:56, schrieb Johan Ekh: > Hi all, > I'm new to Python and Sphinx. > I'm developing a small python module that contains some classes and methods. > In parallel I develop some utility scripts that imports the module and use the > functionality > in the module. > > I let Sphinx extract all docstrings in the module "RifPost" with > > .. automodule:: RifPost > :members: > > which works fine. But how can I extract the docstrings from my utility > scripts?
You can't do that with autodoc if they are not importable. Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk0m26IACgkQN9GcIYhpnLBztACfVAbOJ9XAc8K4QTTOae/TospT h74AnArp1MH6ZSGMLDuX7TnkIoxI92OC =cFGr -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@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.