From c1e057065c612b8471ccceaee40f822a48250eef Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 26 Mar 2021 07:13:52 -0300 Subject: [PATCH] Fix plugin-list label and script This was changed during the current docs restructing and we missed that it changed the label. --- doc/en/reference/plugin_list.rst | 6 ++++-- scripts/update-plugin-list.py | 7 +++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/en/reference/plugin_list.rst b/doc/en/reference/plugin_list.rst index 24cacbc71..97ab28e21 100644 --- a/doc/en/reference/plugin_list.rst +++ b/doc/en/reference/plugin_list.rst @@ -1,5 +1,7 @@ -Plugins List -============ +.. _plugin-list: + +Plugin List +=========== PyPI projects that match "pytest-\*" are considered plugins and are listed automatically. Packages classified as inactive are excluded. diff --git a/scripts/update-plugin-list.py b/scripts/update-plugin-list.py index bc4d8a6a6..4e00f1a45 100644 --- a/scripts/update-plugin-list.py +++ b/scripts/update-plugin-list.py @@ -6,8 +6,11 @@ import packaging.version import requests import tabulate -FILE_HEAD = r"""Plugins List -============ +FILE_HEAD = r"""\ +.. _plugin-list: + +Plugin List +=========== PyPI projects that match "pytest-\*" are considered plugins and are listed automatically. Packages classified as inactive are excluded.