mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
C++, hax because of Windows path separators
This commit is contained in:
parent
6d7ff482f6
commit
5cf28abd14
@ -788,7 +788,7 @@ def test_xref_parsing():
|
|||||||
|
|
||||||
def filter_warnings(warning, file):
|
def filter_warnings(warning, file):
|
||||||
lines = warning.getvalue().split("\n");
|
lines = warning.getvalue().split("\n");
|
||||||
res = [l for l in lines if "/domain-cpp/{}.rst".format(file) in l and
|
res = [l for l in lines if "domain-cpp" in l and "{}.rst".format(file) in l and
|
||||||
"WARNING: document isn't included in any toctree" not in l]
|
"WARNING: document isn't included in any toctree" not in l]
|
||||||
print("Filtered warnings for file '{}':".format(file))
|
print("Filtered warnings for file '{}':".format(file))
|
||||||
for w in res:
|
for w in res:
|
||||||
|
Loading…
Reference in New Issue
Block a user