Hi, I am documenting a Python package with the *autodoc* extension, using the automodule directive. My package contains three sub-packages and four __init__ modules, which all contain functions and attributes to be documented. My problem is that when I automodule these __init__ modules, all functions are listed as some_package.__init__.some_function(). But I would like them to be displayed as some_package.some_function() instead.
I have modified the __module__ and __qualname__ attribute of the object provided by the event autodoc-process-signature , removing these parts, but that seems to have no impact on the generated signature. So my question is: How do I modify the fully qualified name of a signature? Cheers, Ferdinand -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/98c45484-d352-46d7-9c64-afe24fd2ba36%40googlegroups.com.
