-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 25.02.2010 20:07, schrieb Joachim: > Hi, > > I was wondering if there was an option or a way to output into rst > files (basically like the 'text' output but with the markup) > > I'm using autodocs and I would actually like to generate the rst files > with the docstring included in them.
No, there's no such output right now. It is true that reST is generated and parsed in autodoc, but only because it's the easiest way to get the reST inside the docstrings parsed as well. Of course, it should be able to convert the final node trees to reST again, but this facility isn't even supported in docutils right now (there's a sandbox project called "losslest-rst-writer", for reference.) cheers, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkuJc8sACgkQN9GcIYhpnLDoywCfTNScQ3AkI58UM8ipDu3XOXbX jegAn0xuq3wyuHBbM4ATsVnREaDaApVc =2HBz -----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.