mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Apply static path exclusion patterns again.
Refactor exclusion stuff a bit, so that matchers only have to be compiled once.
This commit is contained in:
@@ -178,7 +178,7 @@ def check_static_entries(outdir):
|
||||
assert (staticdir / 'templated.css').isfile()
|
||||
assert (staticdir / 'templated.css').text().splitlines()[1] == __version__
|
||||
# a file from _static, but matches exclude_patterns
|
||||
##assert not (staticdir / 'excluded.css').exists()
|
||||
assert not (staticdir / 'excluded.css').exists()
|
||||
|
||||
@gen_with_app(buildername='html', warning=html_warnfile, cleanenv=True,
|
||||
confoverrides={'html_context.hckey_co': 'hcval_co'},
|
||||
|
||||
Reference in New Issue
Block a user