From: Vladimír Vondruš Date: Tue, 16 Jan 2018 17:51:39 +0000 (+0100) Subject: doxygen: make it possible to hide the footer altogether. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=0a5293a0b5f789286f04ff95f32f221e094d7615;p=blog.git doxygen: make it possible to hide the footer altogether. Makes testing much easier. --- diff --git a/doc/doxygen.rst b/doc/doxygen.rst index f3c0c76a..2deb4ba6 100644 --- a/doc/doxygen.rst +++ b/doc/doxygen.rst @@ -247,7 +247,8 @@ Variable Description ``{filename}`` placeholder is replaced with current file name. :ini:`M_PAGE_FINE_PRINT` HTML code to put into the footer. If not - set, a default generic text is used. The + set, a default generic text is used. If + empty, no footer is rendered at all. The ``{doxygen_version}`` placeholder is replaced with Doxygen version that generated the input XML files. diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index 0dd9dab0..2c735285 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -1774,6 +1774,7 @@ def parse_doxyfile(state: State, doxyfile, config = None): 'M_FILE_TREE_EXPAND_LEVELS': ['1'], 'M_EXPAND_INNER_TYPES': ['NO'], 'M_THEME_COLOR': ['#22272e'], + 'M_PAGE_FINE_PRINT': ['[default]'], 'M_SHOW_DOXYGEN_VERSION': ['YES'] } diff --git a/doxygen/templates/base.html b/doxygen/templates/base.html index 24116db0..ccb62b01 100644 --- a/doxygen/templates/base.html +++ b/doxygen/templates/base.html @@ -48,18 +48,20 @@ +{% if M_PAGE_FINE_PRINT %} +{% endif %} diff --git a/doxygen/test/compound_detailed/Doxyfile b/doxygen/test/compound_detailed/Doxyfile index 29eb753c..c25c5697 100644 --- a/doxygen/test/compound_detailed/Doxyfile +++ b/doxygen/test/compound_detailed/Doxyfile @@ -5,4 +5,5 @@ GENERATE_HTML = NO GENERATE_LATEX = NO GENERATE_XML = YES -M_SHOW_DOXYGEN_VERSION = NO +M_PAGE_FINE_PRINT = +M_THEME_COLOR = diff --git a/doxygen/test/compound_detailed/File_8h.html b/doxygen/test/compound_detailed/File_8h.html index 3d76117f..7cb7671b 100644 --- a/doxygen/test/compound_detailed/File_8h.html +++ b/doxygen/test/compound_detailed/File_8h.html @@ -6,7 +6,6 @@ -