Skip to content

Commit

Permalink
Adds graphviz arguments to docs/conf (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair authored Oct 17, 2024
2 parents ed1ad67 + 8334c24 commit 7b0225e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions {{ cookiecutter.package_name }}/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,18 @@
# a list of builtin themes.
html_theme = "{{ cookiecutter._sphinx_theme }}"

# 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",
"-Gfontsize=10",
"-Gfontname=Helvetica Neue, Helvetica, Arial, sans-serif",
]

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
Expand Down

0 comments on commit 7b0225e

Please sign in to comment.