diff options
| author | Anthony Sottile <asottile@umich.edu> | 2021-04-03 18:01:24 -0700 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2021-04-03 18:21:02 -0700 |
| commit | fe0e2495ce96156cd115444b00675c7339888c91 (patch) | |
| tree | 613874648518e5677738cf25f0b449cccf2f2cc8 /docs/source/conf.py | |
| parent | de4d64bf9a3af50c97087c26dc53c4790034ec7d (diff) | |
| download | flake8-fe0e2495ce96156cd115444b00675c7339888c91.tar.gz | |
fix pr and issue links in release notes
Diffstat (limited to 'docs/source/conf.py')
| -rw-r--r-- | docs/source/conf.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index 97860c9..d11dc15 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -29,6 +29,7 @@ needs_sphinx = '1.3' extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', + 'sphinx.ext.extlinks', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', @@ -297,3 +298,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", "#"), +} |
