mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #10178 from stephenfin/issue-10177
Revert "Close #9993: std domain: Allow to refer an inline target via ref role"
This commit is contained in:
@@ -445,12 +445,3 @@ def test_labeled_rubric(app):
|
||||
domain = app.env.get_domain("std")
|
||||
assert 'label' in domain.labels
|
||||
assert domain.labels['label'] == ('index', 'label', 'blah blah blah')
|
||||
|
||||
|
||||
def test_inline_target(app):
|
||||
text = "blah _`inline target` blah\n"
|
||||
restructuredtext.parse(app, text)
|
||||
|
||||
domain = app.env.get_domain("std")
|
||||
assert 'inline target' in domain.labels
|
||||
assert domain.labels['inline target'] == ('index', 'inline-target', 'inline target')
|
||||
|
||||
Reference in New Issue
Block a user