mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
intersphinx: explicitly parse out inventory specification
This commit is contained in:
@@ -558,3 +558,5 @@ def test_intersphinx_role(app):
|
||||
html = '<a class="reference external" href="http://example.org/{}" title="(in foo v2.0)">'
|
||||
for t in targets:
|
||||
assert html.format(t) in content
|
||||
|
||||
assert html.format('index.html#cpp_foo_bar_baz') not in content
|
||||
|
||||
Reference in New Issue
Block a user