Allow extensions to define the keys returned by linkcode (#11824)

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
Nicolas Peugnet
2025-01-03 22:28:34 +01:00
committed by GitHub
parent 20c1c7fc1c
commit 0fbf88a59f
6 changed files with 54 additions and 8 deletions

View File

@@ -116,6 +116,7 @@ def test_linkcode(app):
assert 'https://foobar/js/' in stuff
assert 'https://foobar/c/' in stuff
assert 'https://foobar/cpp/' in stuff
assert 'http://foobar/rst/' in stuff
@pytest.mark.sphinx('html', testroot='ext-viewcode-find', freshenv=True)