chiark / gitweb /
doxygen: it's CREATE_SUBDIRS, not GENERATE_SUBDIRS. Stupid me.
authorVladimír Vondruš <mosra@centrum.cz>
Wed, 25 Apr 2018 11:11:55 +0000 (13:11 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Wed, 25 Apr 2018 11:11:55 +0000 (13:11 +0200)
doc/doxygen.rst
doxygen/dox2html5.py
doxygen/test/doxyfile/Doxyfile-subdirs
doxygen/test/test_doxyfile.py

index 82ea3c650419e20698b40bd20bcd0e6622056ed6..b3e3c172c60db8d0247beafdcf0eb7c436e747a9 100644 (file)
@@ -910,7 +910,7 @@ positives, this information is not present in the non-verbose output.
     detailed description present, skipping
 
 Besides the above, the output will be mostly empty also if you have the
-:ini:`GENERATE_SUBDIRS` Doxyfile option enabled. This option causes Doxygen to
+:ini:`CREATE_SUBDIRS` Doxyfile option enabled. This option causes Doxygen to
 scatter the XML files across numerous subdirectories to work around limits of
 ancient filesystems. m.css doesn't support it and probably never will, set it
 back to ``NO`` it in your ``Doxyfile-mcss`` override. For easier debugging,
index bce910bc21be9d3fac8ce3fa5fdd61b910c15c14..74f2db36f1b58368a44de98187113d55c240d308 100755 (executable)
@@ -2608,7 +2608,7 @@ def parse_doxyfile(state: State, doxyfile, config = None):
     continuation_re = re.compile(r"""^\s*(?P<quote>['"]?)(?P<value>.*)(?P=quote)\s*(?P<backslash>\\?)$""")
 
     default_config = {
-        'GENERATE_SUBDIRS': ['NO'],
+        'CREATE_SUBDIRS': ['NO'],
         'PROJECT_NAME': ['My Project'],
         'OUTPUT_DIRECTORY': [''],
         'XML_OUTPUT': ['xml'],
@@ -2737,7 +2737,7 @@ list using <span class="m-label m-dim">&darr;</span> and
         if i in config: state.doxyfile[i] = int(' '.join(config[i]))
 
     # Boolean values that we want
-    for i in ['GENERATE_SUBDIRS',
+    for i in ['CREATE_SUBDIRS',
               'M_EXPAND_INNER_TYPES',
               'M_SEARCH_DISABLED',
               'M_SEARCH_DOWNLOAD_BINARY']:
@@ -2752,8 +2752,8 @@ list using <span class="m-label m-dim">&darr;</span> and
         if i in config:
             state.doxyfile[i] = [line for line in config[i] if line]
 
-    if state.doxyfile['GENERATE_SUBDIRS']:
-        logging.fatal("{}: GENERATE_SUBDIRS is not supported, output will be most probably empty".format(doxyfile))
+    if state.doxyfile['CREATE_SUBDIRS']:
+        logging.fatal("{}: CREATE_SUBDIRS is not supported, output will be most probably empty".format(doxyfile))
 
 default_index_pages = ['pages', 'files', 'namespaces', 'modules', 'annotated']
 default_wildcard = '*.xml'
index 130e06b0fe1b3859c21e0c5f6dc8af0ff56106ca..45e0b5025feb906969f4fa5415279d7bad996347 100644 (file)
@@ -1 +1 @@
-GENERATE_SUBDIRS = YES
+CREATE_SUBDIRS = YES
index 5b9b61a5faeecf5ca383a0d815de4de5c06cf33e..fa105342db2c17de8e66ca04c0a40e246f89bc57 100644 (file)
@@ -37,7 +37,7 @@ class Doxyfile(unittest.TestCase):
         state = State()
         parse_doxyfile(state, 'test/doxyfile/Doxyfile')
         self.assertEqual(state.doxyfile, {
-            'GENERATE_SUBDIRS': False,
+            'CREATE_SUBDIRS': False,
             'HTML_EXTRA_FILES': ['css', 'another.png', 'hello'],
             'HTML_EXTRA_STYLESHEET': ['a.css', 'b.css'],
             'HTML_OUTPUT': 'html',
@@ -70,7 +70,7 @@ list using <span class="m-label m-dim">&darr;</span> and
         state = State()
         parse_doxyfile(state, 'test/doxyfile/Doxyfile-subdirs')
         self.assertEqual(state.doxyfile, {
-            'GENERATE_SUBDIRS': True,
+            'CREATE_SUBDIRS': True,
             'HTML_EXTRA_FILES': [],
             'HTML_EXTRA_STYLESHEET': [
                 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600',