Doc: Move the module declaration to index.rst
When the declaration stays in reference.rst, it creates duplicated "pytest" symbols such as `pytest.pytest.mark.filterwarnings`.
This commit is contained in:
parent
781b73bb52
commit
8bb3977cb6
|
@ -11,6 +11,7 @@
|
|||
pytest: helps you write better programs
|
||||
=======================================
|
||||
|
||||
.. module:: pytest
|
||||
|
||||
The ``pytest`` framework makes it easy to write small tests, yet
|
||||
scales to support complex functional testing for applications and libraries.
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
API Reference
|
||||
=============
|
||||
|
||||
.. module:: pytest
|
||||
|
||||
This page contains the full reference to pytest's API.
|
||||
|
||||
.. contents::
|
||||
|
|
Loading…
Reference in New Issue