diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-20 21:50:59 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-20 21:50:59 -0500 |
commit | a533780834c2223edb1e5db51457f53f677c1ac8 (patch) | |
tree | c9e9b763c004e13d9016f817c5c0dca286434da1 /doc/conf.py | |
parent | 2c89c9bc759f09c74edc3c3c90878b6c75c7976f (diff) | |
download | python-coveragepy-git-a533780834c2223edb1e5db51457f53f677c1ac8.tar.gz |
refactor(docs): don't use extlink
extlinks are handy shortcuts, but GitHub won't render them, and now
Sphinx warns if you make an explicit link that could have been an
extlink. So just keep it low-tech, and don't use extlinks at all.
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/conf.py b/doc/conf.py index ca7777e2..84a4577e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -39,7 +39,6 @@ extensions = [ 'sphinxcontrib.spelling', 'sphinx.ext.intersphinx', 'sphinxcontrib.restbuilder', - 'sphinx.ext.extlinks', 'sphinx.ext.napoleon', 'sphinx_tabs.tabs', ] @@ -216,11 +215,6 @@ if any("spell" in arg for arg in sys.argv): 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 '), -} - # Regexes for URLs that linkcheck should skip. linkcheck_ignore = [ # We have lots of links to GitHub, and they start refusing to serve them to linkcheck, |