Hi, How about using `py:class` instead? It does not track methods and attributes automatically. So you need write methods and attributes manually.
.. py:class:: class_name blah blah blah .. automethod:: class_name.method1 .. automethod:: class_name.method2 .. autoattribute:: class_name.attr1 .. autoattribute:: class_name.attr2 Thanks, Takeshi KOMIYA 2019年3月10日(日) 22:20 Rhea Jackson <[email protected]>: > > Hi, > > I have a use case where the documentation should be different from what I > have defined for the __doc__ object of a class. How can I do this. > > What I am doing is > > .. autoclass:: class_name > :inherited-members: > :members: > :undoc-members: > > Can you kindly help me what I should be adding, so that it doesn't take the > doc from __doc__ and to have a custom doc. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
