From 314366af6cd731cd244698a9baca5a9ee1996dec Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 26 Aug 2021 09:33:50 -0300 Subject: [PATCH] Adapt docs references to use pluggy 1.0 Also use the intersphinx reference instead of the class directly. --- doc/en/reference/reference.rst | 5 +---- doc/en/requirements.txt | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/en/reference/reference.rst b/doc/en/reference/reference.rst index db49b0f1d44..98b5a5064cf 100644 --- a/doc/en/reference/reference.rst +++ b/doc/en/reference/reference.rst @@ -956,11 +956,8 @@ TestReport _Result ~~~~~~~ -Result used within :ref:`hook wrappers `. +Result object used within :ref:`hook wrappers `, see :py:class:`_Result in the pluggy documentation ` for more information. -.. autoclass:: pluggy.callers._Result -.. automethod:: pluggy.callers._Result.get_result -.. automethod:: pluggy.callers._Result.force_result Stash ~~~~~ diff --git a/doc/en/requirements.txt b/doc/en/requirements.txt index 20246acb750..2cd1fc25eb3 100644 --- a/doc/en/requirements.txt +++ b/doc/en/requirements.txt @@ -1,4 +1,5 @@ pallets-sphinx-themes +pluggy>=1.0 pygments-pytest>=2.2.0 sphinx-removed-in>=0.2.0 sphinx>=3.1,<4