-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken examples of sphinx.ext.inheritance_diagram #10948
Comments
I'm not sure the cause in this case, but I've had a similar symptom before and the cause ended up being the graphing dependency locations changing accidentally and therefore breaking graph generation. |
We ran into this issue too, over at PlasmaPy/PlasmaPy#1838. It looks like there were some recent releases of For reference, the error on https://www.sphinx-doc.org/en/master/usage/extensions/inheritance.html#examples is still happening: digraph inheritance02ef59160f { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "docutils.parsers.rst.Directive" [URL="../../extdev/markupapi.html#docutils.parsers.rst.Directive",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for reStructuredText directives."]; "sphinx.ext.inheritance_diagram.InheritanceDiagram" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Run when the inheritance_diagram directive is first encountered."]; "sphinx.util.docutils.SphinxDirective" -> "sphinx.ext.inheritance_diagram.InheritanceDiagram" [arrowsize=0.5,style="setlinewidth(0.5)"]; "sphinx.util.docutils.SphinxDirective" [URL="../../extdev/utils.html#sphinx.util.docutils.SphinxDirective",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A base class for Sphinx directives."]; "docutils.parsers.rst.Directive" -> "sphinx.util.docutils.SphinxDirective" [arrowsize=0.5,style="setlinewidth(0.5)"]; } |
As seen here https://readthedocs.org/projects/sphinx/builds/18938758/ I can confirm the issue is caused by missing
|
Describe the bug
I think the examples are broken:
https://www.sphinx-doc.org/en/master/usage/extensions/inheritance.html#examples
How to Reproduce
Take a look at the docs.
Environment Information
Linux
Sphinx extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: