On Mon, Dec 10, 2012 at 12:23 AM, Georg Brandl <
ge...@python.org> wrote:
...
> I would like to get a version 1.2 out at some time "between the years",
> i.e. between 24th of December and 6th of January.
Sounds goods.
There was also some talk on Docutils 0.10 coming out soon, so we
might get a little time to work against a stable release and
catch any issues.
> For that, I would like to know *your* plans: what features or bugs
> do you feel have to go in or be fixed before the release?
These aren't by any means show stoppers but might be nice
things to add.
1) Make autodoc easier to debug and customize. Provide an easier
way to access and manipulate live objects. Here are some ideas:
Directly exec/eval code in the directives themselves:
.. autofunction:: bar
:exec: from other.mod import foo as bar
Provide a new directive for executing blocks of code in a custom
environment used to look up objects to document (similar to
how the testsetup directive works in the doctest extension).
.. autodocsetup:: ns
from mod import *
foo.__doc__ = process_doc(foo)
.. autofunction:: foo
:namespace: ns
2) Provide a way to get the intermediate reST generated by
autodoc directives. Useful for debugging and actually seeing
what the expanded form looks like.
This could be just a configuration variable like
`autodoc_debug_expanded` which causes each form to be printed
whenever the directive is ran.
More debugging flags in general would be nice to help people track
down problems or understand what's going on with their docs.
3) sphinx-apidoc should work more like sphinx-autogen, in that it
should analyze / import python source files and generate
configurable output instead of just using `automodule`.
Cheers,
Jonathan Waltman