From 36265ccbf6997bdb7d380e76fe08252bcc141168 Mon Sep 17 00:00:00 2001 From: "oleg.hoefling" Date: Thu, 21 Oct 2021 19:59:04 +0200 Subject: [PATCH] replace hardcoded links to bugs.python.org with extlinks Signed-off-by: oleg.hoefling --- doc/en/changelog.rst | 2 +- doc/en/conf.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/en/changelog.rst b/doc/en/changelog.rst index 2d11fb5cf..e5ad42a2b 100644 --- a/doc/en/changelog.rst +++ b/doc/en/changelog.rst @@ -1397,7 +1397,7 @@ Bug Fixes - :issue:`5914`: pytester: fix :py:func:`~_pytest.pytester.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 :bpo:`17446`. - :issue:`6254`: Fix compatibility with pytest-parallel (regression in pytest 5.3.0). diff --git a/doc/en/conf.py b/doc/en/conf.py index 0e86a87b1..bb7f1bcc7 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -162,6 +162,7 @@ linkcheck_workers = 5 _repo = "https://github.com/pytest-dev/pytest" extlinks = { + "bpo": ("https://bugs.python.org/issue%s", "bpo-%s"), "pypi": ("https://pypi.org/project/%s/", ""), "issue": (f"{_repo}/issues/%s", "issue #"), }