From 14b5f5e528e52e22d05f086060c5f0dc08a6b37b Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Sat, 2 Jan 2021 00:34:52 -0800 Subject: [PATCH] DOC: Mark pytest module Pytest document currently does not index the top-level package name `pytest`, which causes some trouble when building documentation that cross-refers to the pytest package via ``:mod:`pytest` ``. --- doc/en/reference.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/en/reference.rst b/doc/en/reference.rst index bc6c5670a5..51c52b33ae 100644 --- a/doc/en/reference.rst +++ b/doc/en/reference.rst @@ -3,6 +3,8 @@ API Reference ============= +.. module:: pytest + This page contains the full reference to pytest's API. .. contents::