chiark / gitweb /
doc: document what to do in Doxyfile for nice graphviz look.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 7 Nov 2020 15:59:11 +0000 (16:59 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Sat, 7 Nov 2020 15:59:11 +0000 (16:59 +0100)
doc/documentation/doxygen.rst

index 9c475937cf76c6d5d43e838e9c58ce1930f69590..19515e31e6d3dddd6fc9951940b0241b4a3492f3 100644 (file)
@@ -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`_
 ----------------------------------------