From b112ed2c2590cfb0edd4a26625f55cb53e7d7a4d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 7 Nov 2020 16:59:11 +0100 Subject: [PATCH] doc: document what to do in Doxyfile for nice graphviz look. --- doc/documentation/doxygen.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/documentation/doxygen.rst b/doc/documentation/doxygen.rst index 9c475937..19515e31 100644 --- a/doc/documentation/doxygen.rst +++ b/doc/documentation/doxygen.rst @@ -818,7 +818,17 @@ as well: Grapviz ``dot`` graphs from the ``@dot`` and ``@dotfile`` commands are rendered as an inline SVG. Graph name and the ``sizespec`` works equivalently to the -`Images and figures`_. +`Images and figures`_. In order to be consistent with the theme, set a matching +font name and size in the `Doxyfile` --- these values match the default dark +theme: + +.. code:: ini + + DOT_FONTNAME = Source Sans Pro + DOT_FONTSIZE = 16.0 + +See documentation of the `m.dot <{filename}/plugins/plots-and-graphs.rst#graphs>`_ +plugin for detailed information about behavior and supported features. `Pages, sections and table of contents`_ ---------------------------------------- -- 2.30.2