-
I am not a Sphinx user but depend on extern docu (seaborn) generated via Sphinx. Their problem is that there objects.inv file do not contain a reference to the root package. I can not use the package name in my docstrings because of that because my doc system (PyDoctor) do not know the URL to the package. How can Sphinx be tweaked to do this? See there conf.py and the related issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I think the issue is not related to Sphinx but rather PyDoctor. AFAICT, you want in your docstrings to use something like see :mod:`seaborn` but it's not possible for some reason. If you were to use Sphinx, then you would need to specify the |
Beta Was this translation helpful? Give feedback.
Yes it is, but it depends on the structure of the project being documented. For instance,
numpy
does have a documentation for the module itself (see https://raw.githubusercontent.com/numpy/numpy/main/doc/source/reference/index.rst) using.. module:: numpy
. However, if the other project does not have that then we will not know where the "main" module should point to.