There was an error while loading. Please reload this page.
1 parent 0c326f3 commit 2beb8b0Copy full SHA for 2beb8b0
docs/conf.py
@@ -45,4 +45,13 @@
45
# Preserve authored syntax for defaults
46
autodoc_preserve_defaults = True
47
48
+# Add support for linking usernames, PyPI projects, Wikipedia pages
49
+github_url = 'https://github.com/'
50
+extlinks = {
51
+ 'user': (f'{github_url}%s', '@%s'),
52
+ 'pypi': ('https://pypi.org/project/%s', '%s'),
53
+ 'wiki': ('https://wikipedia.org/wiki/%s', '%s'),
54
+}
55
+extensions += ['sphinx.ext.extlinks']
56
+
57
# local
0 commit comments