summaryrefslogtreecommitdiff
path: root/docs/source/conf.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2021-04-15 20:49:00 -0700
committerAnthony Sottile <asottile@umich.edu>2021-04-15 20:49:00 -0700
commitf7bda9296329cd0ad22cc38fe51b9fd679eed296 (patch)
tree188043ed1485763a92a17519283bb3d0ab0df122 /docs/source/conf.py
parente3313e0949472c1c3e9a6618615c9dc0c46291b2 (diff)
downloadflake8-f7bda9296329cd0ad22cc38fe51b9fd679eed296.tar.gz
Release 3.9.13.9.1
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r--docs/source/conf.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index dd2003f..8dfe578 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -31,6 +31,7 @@ needs_sphinx = '1.3'
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
+ 'sphinx.ext.extlinks',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
@@ -298,3 +299,8 @@ texinfo_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'python': ('https://docs.python.org/3/', None)}
+
+extlinks = {
+ "issue": ("https://github.com/pycqa/flake8/issues/%s", "#"),
+ "pull": ("https://github.com/pycqa/flake8/pull/%s", "#"),
+}