Skip to content

Commit c0f76d9

Browse files
kartbenfabiobaltieri
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]>
1 parent fd919b5 commit c0f76d9

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
@@ -338,6 +338,9 @@
338338
"-Ncolor=gray60",
339339
"-Nfontcolor=gray25",
340340
"-Ecolor=gray60",
341+
"-Gfontname=system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif",
342+
"-Nfontname=system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif",
343+
"-Efontname=SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace",
341344
]
342345

343346
# -- Options for sphinx_copybutton ----------------------------------------

0 commit comments

Comments
 (0)