chiark / gitweb /
doxygen: remove M_SHOW_DOXYGEN_VERSION setting.
authorVladimír Vondruš <mosra@centrum.cz>
Tue, 16 Jan 2018 18:23:59 +0000 (19:23 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Tue, 16 Jan 2018 21:45:39 +0000 (22:45 +0100)
Was used only for testing, can be supplemented by modifying
M_PAGE_FINE_PRINT.

doc/doxygen.rst
doxygen/dox2html5.py
doxygen/templates/base.html
doxygen/test/test_doxyfile.py

index 2deb4ba6d3ac582d357b360e2542262bacc1d619..5aaf32615de360893e2f9db63344cd5f46123945 100644 (file)
@@ -262,9 +262,6 @@ Variable                            Description
 :ini:`M_EXPAND_INNER_TYPES`         Whether to expand inner types (e.g. a class
                                     inside a class) in the symbol tree. If not
                                     set, ``NO`` is used.
-:ini:`M_SHOW_DOXYGEN_VERSION`       Show Doxygen version in the footer. If not
-                                    set, ``YES`` is used; useful to disable for
-                                    output verification.
 =================================== =======================================
 
 Note that namespace, directory and page lists are always fully expanded as
index 2c735285fcbfdd2840e388cd0cb404a997fd11ec..ba9fec2c121424eb51d7fd2dfd71516ed86ed232 100755 (executable)
@@ -1774,8 +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']
+        'M_PAGE_FINE_PRINT': ['[default]']
     }
 
     def parse_value(var):
@@ -1860,8 +1859,7 @@ def parse_doxyfile(state: State, doxyfile, config = None):
         if i in config: state.doxyfile[i] = int(' '.join(config[i]))
 
     # Boolean values that we want
-    for i in ['M_EXPAND_INNER_TYPES',
-              'M_SHOW_DOXYGEN_VERSION']:
+    for i in ['M_EXPAND_INNER_TYPES']:
         if i in config: state.doxyfile[i] = ' '.join(config[i]) == 'YES'
 
     # List values that we want. Drop empty lines.
index ccb62b018df451ef9fcc7d698574a7910598728c..6715bccd5a34ece44ce891861642652c9895949e 100644 (file)
@@ -54,7 +54,7 @@
     <div class="m-row">
       <div class="m-col-l-10 m-push-l-1">
         {% if M_PAGE_FINE_PRINT == '[default]' %}
-        <p>{{ PROJECT_NAME }}{% if PROJECT_BRIEF %} {{ PROJECT_BRIEF }}{% endif %}. Created by <a href="http://doxygen.org/">Doxygen</a>{% if M_SHOW_DOXYGEN_VERSION %} {{ DOXYGEN_VERSION }}{% endif %} and <a href="http://mcss.mosra.cz/">m.css</a>.</p>
+        <p>{{ PROJECT_NAME }}{% if PROJECT_BRIEF %} {{ PROJECT_BRIEF }}{% endif %}. Created by <a href="http://doxygen.org/">Doxygen</a> {{ DOXYGEN_VERSION }} and <a href="http://mcss.mosra.cz/">m.css</a>.</p>
         {% else %}
         {{ M_PAGE_FINE_PRINT|replace('{doxygen_version}', DOXYGEN_VERSION) }}
         {% endif %}
index 242343730d95c68bc3e16b54a6b5c8d905ceb7cb..343309cbd7734b96f591d8eb8945547edbf59f66 100644 (file)
@@ -39,7 +39,6 @@ class Doxyfile(unittest.TestCase):
             'M_FILE_TREE_EXPAND_LEVELS': 1,
             'M_PAGE_FINE_PRINT': 'this is "quotes"',
             'M_PAGE_HEADER': 'this is "quotes" \'apostrophes\'',
-            'M_SHOW_DOXYGEN_VERSION': True,
             'M_THEME_COLOR': '#22272e',
             'OUTPUT_DIRECTORY': '',
             'PROJECT_BRIEF': 'is cool',