mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
implementing PR comments
This commit is contained in:
@@ -410,8 +410,8 @@ Note: By default this script will not overwrite already created files.""")
|
||||
module_path = rootpath,
|
||||
append_syspath = opts.append_syspath,
|
||||
)
|
||||
enabled_exts = {'ext_'+ext: getattr(opts, 'ext_'+ext)
|
||||
for ext in EXTENSIONS if getattr(opts, 'ext_'+ext)}
|
||||
enabled_exts = {'ext_' + ext: getattr(opts, 'ext_' + ext)
|
||||
for ext in EXTENSIONS if getattr(opts, 'ext_' + ext)}
|
||||
d.update(enabled_exts)
|
||||
|
||||
if isinstance(opts.header, binary_type):
|
||||
|
||||
@@ -158,8 +158,3 @@ def test_extension_parsed(make_app, apidoc):
|
||||
with open(outdir / 'conf.py') as f:
|
||||
rst = f.read()
|
||||
assert "sphinx.ext.mathjax" in rst
|
||||
|
||||
app = make_app('text', srcdir=outdir)
|
||||
app.build()
|
||||
print(app._status.getvalue())
|
||||
print(app._warning.getvalue())
|
||||
|
||||
Reference in New Issue
Block a user