Skip to content

Commit

Permalink
custom style for graphviz output in darkmode
Browse files Browse the repository at this point in the history
  • Loading branch information
alphasentaurii committed Dec 8, 2024
1 parent 037be52 commit 6108ce0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"sphinx.ext.graphviz",
"sphinx.ext.autodoc",
"sphinx.ext.extlinks",
"sphinx.ext.githubpages",
"sphinx_asdf",
] # noqa: F405

Expand Down Expand Up @@ -158,6 +157,18 @@

# html_context = {"bootswatch_css_custom": ["_static/custom.css"]}

# Render inheritance diagrams in SVG
graphviz_output_format = "svg"

graphviz_dot_args = [
"-Nfontsize=10",
"-Nfontname=Helvetica Neue, Helvetica, Arial, sans-serif",
"-Efontsize=10",
"-Efontname=Helvetica Neue, Helvetica, Arial, sans-serif",
"-Gbgcolor=white",
"-Gfontsize=10",
"-Gfontname=Helvetica Neue, Helvetica, Arial, sans-serif",
]

# -- Options for HTMLHelp output ---------------------------------------------

Expand Down

0 comments on commit 6108ce0

Please sign in to comment.