You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for :py:mod: says that it can also be used to link to packages. This seems to work for regular packages, but not implicit namespace packages.
Describe the bug
The documentation for :py:mod: says that it can also be used to link to packages. This seems to work for regular packages, but not implicit namespace packages.
How to Reproduce
Notice how "foo" in the output is not a hyperlink.
On the other hand, if we turn foo into a regular package and re-run sphinx-apidoc / sphinx-build:
Then "foo" is now a hyperlink.
Expected behavior
I expect "foo" in the output to be a link to
foo.html#foo-namespace
.Your project
See steps above
Screenshots
No response
OS
Ubuntu 20.04.3 LTS
Python version
3.8.10
Sphinx version
4.1.2
Sphinx extensions
sphinx.ext.autodoc
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: