mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Forgot ifconfig.
This commit is contained in:
@@ -600,6 +600,8 @@ Please indicate if you want to use one of the following Sphinx extensions:'''
|
||||
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
|
||||
@@ -614,7 +616,7 @@ directly.'''
|
||||
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']).\
|
||||
|
||||
@@ -125,6 +125,7 @@ def test_quickstart_all_answers(tempdir):
|
||||
'coverage': 'no',
|
||||
'pngmath': 'N',
|
||||
'jsmath': 'no',
|
||||
'ifconfig': 'no',
|
||||
'Create Makefile': 'no',
|
||||
'Create Windows command file': 'no',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user