From: Vladimír Vondruš Date: Fri, 15 Dec 2017 17:53:51 +0000 (+0100) Subject: doxygen: introduce M_PAGE_FINE_PRINT, test the layout options. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=436c4b023bfffc7ae1fbea7ba9e17029813f8dd4;p=blog.git doxygen: introduce M_PAGE_FINE_PRINT, test the layout options. --- diff --git a/doc/doxygen.rst b/doc/doxygen.rst index 66f9fa51..79a8bdba 100644 --- a/doc/doxygen.rst +++ b/doc/doxygen.rst @@ -232,13 +232,19 @@ In addition, the m.css Doxygen theme recognizes the following extra options: Variable Description =================================== ======================================= :ini:`M_THEME_COLOR` Color for :html:``, - corresponding to the CSS style. See below - for more information. + corresponding to the CSS style. If empty, + no :html:`` tag is rendered. See + below for more information. :ini:`M_PAGE_HEADER` HTML code to put at the top of every page. Useful for example to link to different versions of the same documentation. The ``{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 + ``{doxygen_version}`` placeholder is + replaced with Doxygen version that + generated the input XML files. :ini:`M_CLASS_TREE_EXPAND_LEVELS` How many levels of the class tree to expand. ``0`` means only the top-level symbols are shown. If not set, ``1`` is diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index e8f8bb32..5832f4ab 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -1846,6 +1846,7 @@ def parse_doxyfile(state: State, doxyfile, config = None): 'HTML_OUTPUT', 'XML_OUTPUT', 'M_PAGE_HEADER', + 'M_PAGE_FINE_PRINT', 'M_THEME_COLOR']: if i in config: state.doxyfile[i] = ' '.join(config[i]) diff --git a/doxygen/templates/base.html b/doxygen/templates/base.html index 161c17ca..24116db0 100644 --- a/doxygen/templates/base.html +++ b/doxygen/templates/base.html @@ -9,7 +9,9 @@ {% block header_links %} {% endblock %} + {% if M_THEME_COLOR %} + {% endif %}