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
Describe the bug
Inheritance diagrams in the documentation are clickable and should navigate to the corresponding section of the documentation. However, they omit one element of the path, namely the folder in which the automod directory is contained, e.g. they link to probnum/docs/_build/html/automod/probnum.linops.Identity.html instead of probnum/docs/_build/html/api/automod/probnum.linops.Identity.html. Note that this bug only appears when using SVG instead of png inheritance diagrams.
To Reproduce
Click on any class in an inheritance diagram:
Expected behavior
A link to the correct page of the documentation.
Cause of the bug
This is actually a bug in Sphinx itself when used in combination with automodapi. There are issues (sphinx-doc/sphinx#3176 ) and pull requests (sphinx-doc/sphinx#2484) mentioning this bug.
Describe the bug
Inheritance diagrams in the documentation are clickable and should navigate to the corresponding section of the documentation. However, they omit one element of the path, namely the folder in which the
automod
directory is contained, e.g. they link toprobnum/docs/_build/html/automod/probnum.linops.Identity.html
instead ofprobnum/docs/_build/html/api/automod/probnum.linops.Identity.html
. Note that this bug only appears when using SVG instead of png inheritance diagrams.To Reproduce
Click on any class in an inheritance diagram:
Expected behavior
A link to the correct page of the documentation.
Cause of the bug
This is actually a bug in Sphinx itself when used in combination with
automodapi
. There are issues (sphinx-doc/sphinx#3176 ) and pull requests (sphinx-doc/sphinx#2484) mentioning this bug.Possible fix
The suggested change in sphinx-doc/sphinx#2484 would fix this, if merged into Sphinx.
Possibly, we could monkey patch this ourselves by changing one line as in https://github.com/sphinx-doc/sphinx/pull/2484/files.
The text was updated successfully, but these errors were encountered: