Okay... I fixed this in the trunk at one time, but apparently not in the 0.4 branch.
I've taken this as the cause to do another 0.4 release, since 0.5 may need some more time. 0.4.3 is now on PyPI! Georg boothead schrieb: > OK some more info: > > This doesn't work: > > .. autoclass:: aws.DebugMethodMixin > > This class is to simplify logging and to use the :meth:`shutdown` > to simplify the :meth:`~Axon.Component.component.main` method > > .. automethod:: debug > > .. automethod:: info > > .. automethod:: error > > .. automethod:: shutdown > > This is used in the :meth:`~Axon.Component.component.main` > method to simplify checking for shutdown control messages. Use it like > this: > > .. code-block:: python > > def main(): > while not self.shutdown(): > # do stuff > yield 1 > > However if you add :members: to the autoclass it's fine: > > .. autoclass:: aws.DebugMethodMixin > :members: > > ... SNIP ... > > This is the offending code (starts line 305 in autodoc.py): > > if path: > mod_cls = path > else: > # if documenting a class-level object without path, there must be > a > # current class, either from a parent auto directive ... > if hasattr(env, 'autodoc_current_class'): > mod_cls = env.autodoc_current_class > # ... or from a class directive > if not mod_cls: > mod_cls = env.currclass --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
