I had a quick question regarding the special document genindex. When sphinx 
generates the index, for each entry in the index, there is:

 <entry name> (in module XXXXXX). 

When viewing the html version of the index, the (in module XXXXXX) part is 
very verbose and I was wondering if there was a way to suppress it so it 
would only show <entry name>...?


Let's say that one has a package that looks like:

amodule
   __init__.py
   module_file.py

For sphinx-apidoc, it will auto-generate a file called amodule.rst which 
contents that looks like:

amodule package
==============

Submodules
-----------------

amodule.module\_file module
---------------------------------------


The problem (if it really is one), is that the same section title adornment 
is used for both Submodules and amodule.module\_file module. So, when 
generating the html version of the documents, one sees:

* amodule package

    * Submodules
    * amodule.module_file module

which looks odd to me. If they had different section title adornments, it 
would generate:

* amodule package

    * Submodules
        * amodule.module_file module

so the submodules are indented under the Submodules section....this looks 
better to me.

Is there any way to get apidoc to do this?



-- 
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.

Reply via email to