summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-11-09 06:13:32 -0500
committerNed Batchelder <ned@nedbatchelder.com>2019-11-09 08:33:38 -0500
commita6878da3d958fdd2bba210178a351b428adb5c6b (patch)
treec2f200960e81de5acf64d487da28c7a9aeaf8744 /doc/conf.py
parent64755dd42bf65c6006e3a8c44a145ea0a168032e (diff)
downloadpython-coveragepy-git-a6878da3d958fdd2bba210178a351b428adb5c6b.tar.gz
What's new in 5.x doc
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py
index daa8ab33..853394d3 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -36,6 +36,7 @@ extensions = [
'sphinxcontrib.spelling',
'sphinx.ext.intersphinx',
'sphinx_rst_builder',
+ 'sphinx.ext.extlinks',
]
# Add any paths that contain templates here, relative to this directory.
@@ -188,6 +189,10 @@ htmlhelp_basename = 'coveragepydoc'
spelling_word_list_filename = 'dict.txt'
spelling_show_suggestions = False
+extlinks = {
+ # :github:`123` becomes a link to the GitHub issue, with text "issue 123".
+ 'github': ('https://github.com/nedbat/coveragepy/issues/%s', 'issue '),
+}
# When auto-doc'ing a class, write the class' docstring and the __init__ docstring
# into the class docs.