summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-11-15 03:07:13 +0100
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-11-15 03:07:13 +0100
commit3bc2b0f181291d727833586071a95d5d8ff68fd3 (patch)
tree13c21eb1932dc092f337ca343ac015a852d125dd
parent3925ae9dffb3d0b8d7792ccd1fd8fefae6f20089 (diff)
downloadcherrypy-git-3bc2b0f181291d727833586071a95d5d8ff68fd3.tar.gz
Add a :user: role to sphinx
-rw-r--r--docs/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 6c04928d..c277b6e4 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -62,6 +62,7 @@ github_repo_name = project.lower()
github_repo_slug = f'{github_repo_org}/{github_repo_name}'
github_repo_url = f'{github_url}/{github_repo_slug}'
cr_github_repo_url = f'{github_url}/{github_repo_org}/cheroot'
+github_sponsors_url = f'{github_url}/sponsors'
rst_epilog = f"""
.. |project| replace:: {project}
@@ -96,6 +97,7 @@ extlinks = {
'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', '@'),
}
intersphinx_mapping = {