Skip to content

Commit 0e686ad

Browse files
kartbennashif
authored andcommitted
doc: Update Graphviz font configuration
Customize Graphviz dot rendering to use same font stack as our Sphinx theme. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit c0f76d9)
1 parent f639801 commit 0e686ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@
351351
"-Ncolor=gray60",
352352
"-Nfontcolor=gray25",
353353
"-Ecolor=gray60",
354+
"-Gfontname=system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif",
355+
"-Nfontname=system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif",
356+
"-Efontname=SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace",
354357
]
355358

356359
# -- Options for sphinx_copybutton ----------------------------------------

0 commit comments

Comments
 (0)