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
Currently, the inheritance_diagram extension sets navigation links for the nodes of classes in the current project, but not for classes that are resolvable through intersphinx. It would be nice if it did.
From Christoph Reiter on 2014-04-12 22:13:31+00:00
I've investigated this a bit. The cause is that intersphinx creates nodes with a reftitle"(in Project v1.42)" but inheritance_diagram expected the retitle to be the target/class name.
Not sure what the correct fix here is. I've worked around the problem in inheritance_diagram in the mean time by extracting the target name from the url and not from reftitle.
#!python
# in inheritance_diagram.html_visit_inheritance_diagram()
urls = {}
for child in node:
url = child.get('refuri') or '#' + child['refid']
fullname = child.get('refid') or child['refuri'].rsplit('#', 1)[-1]
urls[fullname] = url
Currently, the
inheritance_diagram
extension sets navigation links for the nodes of classes in the current project, but not for classes that are resolvable throughintersphinx
. It would be nice if it did.The text was updated successfully, but these errors were encountered: