Georg Brandl avatar Georg Brandl committed 5d97753

Forgot ifconfig.

Comments (0)

Files changed (2)

sphinx/quickstart.py

     if d['ext_pngmath'] and d['ext_jsmath']:
         print '''Note: pngmath and jsmath cannot be enabled at the same time.
 pngmath has been deselected.'''
+    do_prompt(d, 'ext_ifconfig', 'ifconfig: conditional inclusion of '
+              'content based on config values (y/N)', 'n', boolean)
     print '''
 A Makefile and a Windows command file can be generated for you so that you
 only have to run e.g. `make html' instead of invoking sphinx-build
     d['extensions'] = ', '.join(
         repr('sphinx.ext.' + name)
         for name in ('autodoc', 'doctest', 'intersphinx', 'todo', 'coverage',
-                     'pngmath', 'jsmath')
+                     'pngmath', 'jsmath', 'ifconfig')
         if d['ext_' + name].upper() in ('Y', 'YES'))
     d['copyright'] = time.strftime('%Y') + ', ' + d['author']
     d['author_texescaped'] = unicode(d['author']).\

tests/test_quickstart.py

         'coverage': 'no',
         'pngmath': 'N',
         'jsmath': 'no',
+        'ifconfig': 'no',
         'Create Makefile': 'no',
         'Create Windows command file': 'no',
     }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.