Skip to content

Commit

Permalink
Merge pull request #12533 from webknjaz/docs/drop-extlinks-bpo
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz authored Jun 26, 2024
2 parents 53bf188 + d75fa9f commit f74e947
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 7 additions & 0 deletions changelog/12533.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The ``extlinks`` Sphinx extension is no longer enabled. The ``:bpo:``
role it used to declare has been removed with that. BPO itself has
migrated to GitHub some years ago and it is possible to link the
respective issues by using their GitHub issue numbers and the
``:issue:`` role that the ``sphinx-issues`` extension implements.

-- by :user:`webknjaz`
4 changes: 3 additions & 1 deletion doc/en/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3360,7 +3360,9 @@ Bug Fixes
- :issue:`5914`: pytester: fix :py:func:`~pytest.LineMatcher.no_fnmatch_line` when used after positive matching.


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


- :issue:`6254`: Fix compatibility with pytest-parallel (regression in pytest 5.3.0).
Expand Down
6 changes: 0 additions & 6 deletions doc/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"pygments_pytest",
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
Expand Down Expand Up @@ -171,11 +170,6 @@
linkcheck_workers = 5


extlinks = {
"bpo": ("https://bugs.python.org/issue%s", "bpo-%s"),
}


nitpicky = True
nitpick_ignore = [
# TODO (fix in pluggy?)
Expand Down

0 comments on commit f74e947

Please sign in to comment.