Hi. I'm new to Sphinx and I'm trying to produce documentation for a
Python library using autodoc. The problem I have is that the generated
documentation for classes include fully qualified names, i.e.

class mylib.package1.module1.Class1

How can I get it to generate

class Class1

instead?

In the standard template class.rst I see

.. autoclass:: {{ objname }}

and in the documentation it says that objname is "Name of the
documented object, excluding the module parts.", so how come it
includes the fully qualified name?

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to