Skip to content
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

Improve inheritance diagrams #22273

Merged
merged 1 commit into from Dec 15, 2022
Merged

Commits on Dec 15, 2022

  1. Improve inheritance diagrams

    When Graphviz is given a page size (which Sphinx does by default), it
    will layout the whole graph, and then scale the _entire_ thing down to
    fit. This means that text and lines on large diagrams are inconsistent
    with ones that fit.
    
    Additionally, the default size is larger than the content width which
    means the browser will also scale the image down a bit. But the URL map
    is _not_ scaled down, so the links will appear in the wrong spot.
    
    To fix this, set the page size in Graphviz very large, and make the
    diagram scrollable with CSS.
    
    Plus a few minor tweaks to font and line sizes now that images are a
    consistent scale.
    QuLogic committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    aa1ae8d View commit details
    Browse the repository at this point in the history