Skip to content

Commit f74e947

Browse files
authored
Merge pull request #12533 from webknjaz/docs/drop-extlinks-bpo
2 parents 53bf188 + d75fa9f commit f74e947

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

changelog/12533.contrib.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The ``extlinks`` Sphinx extension is no longer enabled. The ``:bpo:``
2+
role it used to declare has been removed with that. BPO itself has
3+
migrated to GitHub some years ago and it is possible to link the
4+
respective issues by using their GitHub issue numbers and the
5+
``:issue:`` role that the ``sphinx-issues`` extension implements.
6+
7+
-- by :user:`webknjaz`

doc/en/changelog.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3360,7 +3360,9 @@ Bug Fixes
33603360
- :issue:`5914`: pytester: fix :py:func:`~pytest.LineMatcher.no_fnmatch_line` when used after positive matching.
33613361

33623362

3363-
- :issue:`6082`: Fix line detection for doctest samples inside :py:class:`python:property` docstrings, as a workaround to :bpo:`17446`.
3363+
- :issue:`6082`: Fix line detection for doctest samples inside
3364+
:py:class:`python:property` docstrings, as a workaround to
3365+
:issue:`python/cpython#61648`.
33643366

33653367

33663368
- :issue:`6254`: Fix compatibility with pytest-parallel (regression in pytest 5.3.0).

doc/en/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
"pygments_pytest",
8383
"sphinx.ext.autodoc",
8484
"sphinx.ext.autosummary",
85-
"sphinx.ext.extlinks",
8685
"sphinx.ext.intersphinx",
8786
"sphinx.ext.todo",
8887
"sphinx.ext.viewcode",
@@ -171,11 +170,6 @@
171170
linkcheck_workers = 5
172171

173172

174-
extlinks = {
175-
"bpo": ("https://bugs.python.org/issue%s", "bpo-%s"),
176-
}
177-
178-
179173
nitpicky = True
180174
nitpick_ignore = [
181175
# TODO (fix in pluggy?)

0 commit comments

Comments
 (0)