summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-viewcode
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 16:20:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 16:20:58 +0000
commit5bb0bb4be543fd5eca41673696a62ed80d493591 (patch)
treead2c464f140e86c7f178a6276d7ea4a93e3e6c92 /tests/roots/test-ext-viewcode
parentAdding upstream version 7.2.6. (diff)
downloadsphinx-upstream.tar.xz
sphinx-upstream.zip
Adding upstream version 7.3.7.upstream/7.3.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/roots/test-ext-viewcode')
-rw-r--r--tests/roots/test-ext-viewcode/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/roots/test-ext-viewcode/conf.py b/tests/roots/test-ext-viewcode/conf.py
index 5e07214..d6de1d9 100644
--- a/tests/roots/test-ext-viewcode/conf.py
+++ b/tests/roots/test-ext-viewcode/conf.py
@@ -15,10 +15,10 @@ if 'test_linkcode' in tags:
def linkcode_resolve(domain, info):
if domain == 'py':
fn = info['module'].replace('.', '/')
- return "http://foobar/source/%s.py" % fn
+ return "https://foobar/source/%s.py" % fn
elif domain == "js":
- return "http://foobar/js/" + info['fullname']
+ return "https://foobar/js/" + info['fullname']
elif domain in ("c", "cpp"):
- return f"http://foobar/{domain}/{''.join(info['names'])}"
+ return f"https://foobar/{domain}/{''.join(info['names'])}"
else:
raise AssertionError()