diff --git a/doc/en/plugins.rst b/doc/en/plugins.rst index a918f634d..efe5fd277 100644 --- a/doc/en/plugins.rst +++ b/doc/en/plugins.rst @@ -82,7 +82,7 @@ which will import the specified module as a ``pytest`` plugin. .. note:: Requiring plugins using a ``pytest_plugins`` variable in non-root ``conftest.py`` files is deprecated. See - :ref:`full explanation ` + :ref:`full explanation ` in the Writing plugins section. .. _`findpluginname`: diff --git a/doc/en/writing_plugins.rst b/doc/en/writing_plugins.rst index c4bfa092b..42068818c 100644 --- a/doc/en/writing_plugins.rst +++ b/doc/en/writing_plugins.rst @@ -254,7 +254,7 @@ application modules: if ``myapp.testsupport.myplugin`` also declares ``pytest_plugins``, the contents of the variable will also be loaded as plugins, and so on. -.. _`requiring plugins in non-noot conftests`: +.. _`requiring plugins in non-root conftests`: .. note:: Requiring plugins using a ``pytest_plugins`` variable in non-root