Skip to content

Commit b8c1547

Browse files
authoredApr 4, 2021
Merge pull request #1305 from asottile/replace_gitlab_urls
Replace gitlab urls
2 parents 74506ae + 8b76fa3 commit b8c1547

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+254
-746
lines changed
 

‎README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ Links
6363

6464
* `Flake8 Documentation <http://flake8.pycqa.org/en/latest/>`_
6565

66-
* `GitLab Project <https://gitlab.com/pycqa/flake8>`_
66+
* `GitHub Project <https://github.com/pycqa/flake8>`_
6767

6868
* `All (Open and Closed) Issues
69-
<https://gitlab.com/pycqa/flake8/issues?scope=all&sort=updated_desc&state=all>`_
69+
<https://github.com/pycqa/flake8/issues?q=is%3Aissue>`_
7070

7171
* `Code-Quality Archives
7272
<https://mail.python.org/mailman/listinfo/code-quality>`_

‎docs/source/conf.py

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
extensions = [
3030
'sphinx.ext.autodoc',
3131
'sphinx.ext.doctest',
32+
'sphinx.ext.extlinks',
3233
'sphinx.ext.intersphinx',
3334
'sphinx.ext.todo',
3435
'sphinx.ext.coverage',
@@ -297,3 +298,8 @@
297298

298299
# Example configuration for intersphinx: refer to the Python standard library.
299300
intersphinx_mapping = {'python': ('https://docs.python.org/3/', None)}
301+
302+
extlinks = {
303+
"issue": ("https://github.com/pycqa/flake8/issues/%s", "#"),
304+
"pull": ("https://github.com/pycqa/flake8/pull/%s", "#"),
305+
}

0 commit comments

Comments
 (0)
Please sign in to comment.