summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2023-01-02 03:34:42 +0100
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2023-01-02 03:34:42 +0100
commit95392770618341d5b088b7008cedf7f5bb765a02 (patch)
tree97b2b5f628934d48015cbed1b6669d3f3bef1e5b
parent852ddddba0e6e8ccd5f76f4694fce255e723ab9b (diff)
downloadcherrypy-git-95392770618341d5b088b7008cedf7f5bb765a02.tar.gz
🔧 Make extlinks compatible with Sphinx 6
-rw-r--r--docs/conf.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 5267c536..0ff41fa6 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -95,13 +95,13 @@ extensions = [
]
extlinks = {
- 'issue': (f'{github_repo_url}/issues/%s', '#'),
- 'pr': (f'{github_repo_url}/pull/%s', 'PR #'),
- 'commit': (f'{github_repo_url}/commit/%s', ''),
- 'cr-issue': (f'{cr_github_repo_url}/issues/%s', 'Cheroot #'),
- 'cr-pr': (f'{cr_github_repo_url}/pull/%s', 'Cheroot PR #'),
- 'gh': (f'{github_url}/%s', 'GitHub: '),
- 'user': (f'{github_sponsors_url}/%s', '@'),
+ 'issue': (f'{github_repo_url}/issues/%s', '#%s'),
+ 'pr': (f'{github_repo_url}/pull/%s', 'PR #%s'),
+ 'commit': (f'{github_repo_url}/commit/%s', '%s'),
+ 'cr-issue': (f'{cr_github_repo_url}/issues/%s', 'Cheroot #%s'),
+ 'cr-pr': (f'{cr_github_repo_url}/pull/%s', 'Cheroot PR #%s'),
+ 'gh': (f'{github_url}/%s', 'GitHub: %s'),
+ 'user': (f'{github_sponsors_url}/%s', '@%s'),
}
intersphinx_mapping = {