Hey everyone, I'm customizing Sphinx's autodoc extension to modify how class and function names are displayed. In particular, I want to display a shortened name which can be used for importing instead of a fully qualified name. For example, sympy.sets.sets.Set can be shortened to sympy.Set as it is accessible from the top-level namespace.
The issue is that when I do this, cross-references break, i.e., Sphinx can't find the [source] link to the code on GitHub. Is there a way to modify how autodoc displays names while keeping cross-references working? If anyone has done something similar or knows of a solution, I'd really appreciate some guidance or example code. -- 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 sphinx-users+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sphinx-users/eab722e9-209d-4bd5-9775-481dbf732f6an%40googlegroups.com.