From 901988f864b2509c8f1828ee2a6c73ff3c8bb939 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 9 Jan 2022 19:14:14 +0100 Subject: [PATCH] documentation/doxygen: since 1.9.2, HAVE_DOT has to be explicitly set. Kinda silly to require that even for the XML output, where Graphviz doesn't actually need to be used at all -- the content/files are pasted verbatim. --- doc/documentation/doxygen.rst | 3 +++ documentation/test_doxygen/contents_custom/Doxyfile | 4 ++++ documentation/test_doxygen/contents_dot/Doxyfile | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/doc/documentation/doxygen.rst b/doc/documentation/doxygen.rst index f8900d5b..7e2400f6 100644 --- a/doc/documentation/doxygen.rst +++ b/doc/documentation/doxygen.rst @@ -862,6 +862,9 @@ theme: DOT_FONTNAME = Source Sans Pro DOT_FONTSIZE = 16.0 + # Required to be explicitly set since Doxygen 1.9.2, otherwise the graphs + # won't be included in the output + HAVE_DOT = YES See documentation of the `m.dot <{filename}/plugins/plots-and-graphs.rst#graphs>`_ plugin for detailed information about behavior and supported features. diff --git a/documentation/test_doxygen/contents_custom/Doxyfile b/documentation/test_doxygen/contents_custom/Doxyfile index b0b79499..ea91114a 100644 --- a/documentation/test_doxygen/contents_custom/Doxyfile +++ b/documentation/test_doxygen/contents_custom/Doxyfile @@ -10,6 +10,10 @@ CASE_SENSE_NAMES = YES DOTFILE_DIRS = . DOT_FONTNAME = DejaVu Sans DOT_FONTSIZE = 16 +# Needs to be set since 1.9.2, before that the dot output was included in the +# XML unconditionally. Funny since passing the data to the XML doesn't actually +# need Graphviz at all. +HAVE_DOT = YES ##! M_PAGE_FINE_PRINT = ##! M_THEME_COLOR = diff --git a/documentation/test_doxygen/contents_dot/Doxyfile b/documentation/test_doxygen/contents_dot/Doxyfile index 8b0aa652..cb2a2146 100644 --- a/documentation/test_doxygen/contents_dot/Doxyfile +++ b/documentation/test_doxygen/contents_dot/Doxyfile @@ -9,6 +9,10 @@ CASE_SENSE_NAMES = YES DOTFILE_DIRS = . DOT_FONTNAME = DejaVu Sans DOT_FONTSIZE = 16 +# Needs to be set since 1.9.2, before that the dot output was included in the +# XML unconditionally. Funny since passing the data to the XML doesn't actually +# need Graphviz at all. +HAVE_DOT = YES ##! M_PAGE_FINE_PRINT = ##! M_THEME_COLOR = -- 2.30.2