[email protected] schrieb: > Dear all, > > I've been using Sphinx for a week now to document a python/c++ project > and I should say that I'm quite happy about it and will pursue in this > direction. > > However, I've noticed that none of the __init__ functions appear in > the documentation pages when using the *automodule* option. > > Reading the sphinx documentation I figured out that I could use the > *autoclass_content* option in the conf.py file. So, I set it to 'both' > so as to get the docstring of the class as well as the docstring of > the __init__ constructor. However, the result is not correct, or at > least it is not what I expected: instead of the class docstring > followed by the __init__'s docstring, I get the class docstring > twice. > > > Any thoughts or help on this issue ? > cheers, > Thomas Cokelaer > > PS: I was using the version 0.5.1
Hmm, I've tried to reproduce this, but I cannot find a problem with 0.5.1 and an example class. How does your class look like? How do you use autoclass/automodule? Georg --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
