Skip to content

Commit 99077e6

Browse files
kartbengithub-actions[bot]
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 7412674 commit 99077e6

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
@@ -325,6 +325,9 @@
325325
"-Ncolor=gray60",
326326
"-Nfontcolor=gray25",
327327
"-Ecolor=gray60",
328+
"-Gfontname=system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif",
329+
"-Nfontname=system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif",
330+
"-Efontname=SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace",
328331
]
329332

330333
# -- Options for sphinx_copybutton ----------------------------------------

0 commit comments

Comments
 (0)