-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 04.02.2010 13:04, schrieb pipoun:
> 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.

This may be caused by the specific Enum class you're using. Could you
show me how enum.py looks?

Thanks,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkuBSOAACgkQN9GcIYhpnLDYJgCbBUxnT09aIZfy1EDEKRvAsLdd
NcIAoLAilJpCFAvTq8dVVrC9Rfu8PIT5
=m8K6
-----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 [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.

Reply via email to