Hi all,
I've got a strange behavior with sphinx and autodoc, regarding the
documentation of some module attributes.
here is the .txt
.. automodule:: mymodule
:members:
:undoc-members:
:show-inheritance:
here is the .py
from enum import Enum
#: doc enum
EFooBar = Enum("FOO", "BAR")
#: doc enum 2
EFooBar2 = "string"
#: foo
g_FOO = EFooBar.FOO
#: foo 2
g_FOO2 = 1
In the html file, I only have doc for EFooBar2 and g_FOO2 and nothing
for EFooBar nor g_FOO
I can add a .. attribute:: g_FOO in the class docstring, but they are
not placed in the same groups of attributes than EFooBar2 and g_FOO2
(in the html file).
autodoc_member_order is set to 'groupwise'
I'm using the latest code from the mercurial repository.
Thanks for the help!
--
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.