mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
quickstart: Rework how we collect extensions
This is a little more flexible than the existing set up and makes maximum use of argparse capabilities. This has the side-effect of no longer including configuration for the 'sphinx.ext.todo' extension when said extension is not enabled. Signed-off-by: Stephen Finucane <stephen@that.guru>
This commit is contained in:
@@ -134,7 +134,6 @@ def test_quickstart_defaults(tempdir):
|
||||
assert ns['copyright'] == '%s, Georg Brandl' % time.strftime('%Y')
|
||||
assert ns['version'] == '0.1'
|
||||
assert ns['release'] == '0.1'
|
||||
assert ns['todo_include_todos'] is False
|
||||
assert ns['html_static_path'] == ['_static']
|
||||
assert ns['latex_documents'] == [
|
||||
('index', 'SphinxTest.tex', 'Sphinx Test Documentation',
|
||||
|
||||
Reference in New Issue
Block a user