Merge pull request #12533 from webknjaz/docs/drop-extlinks-bpo

(cherry picked from commit f74e947c1f)
This commit is contained in:
Sviatoslav Sydorenko (Святослав Сидоренко) 2024-06-26 14:39:31 +02:00 committed by patchback[bot]
parent 2d5b20ac6c
commit 09888fa263
3 changed files with 10 additions and 7 deletions

View File

@ -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`

View File

@ -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).

View File

@ -82,7 +82,6 @@ extensions = [
"pygments_pytest",
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
@ -171,11 +170,6 @@ linkcheck_ignore = [
linkcheck_workers = 5
extlinks = {
"bpo": ("https://bugs.python.org/issue%s", "bpo-%s"),
}
nitpicky = True
nitpick_ignore = [
# TODO (fix in pluggy?)