Skip to content

Commit

Permalink
Doc: Move the module declaration to index.rst
Browse files Browse the repository at this point in the history
When the declaration stays in reference.rst, it creates duplicated
"pytest" symbols such as `pytest.pytest.mark.filterwarnings`.
  • Loading branch information
xuhdev committed Jan 26, 2021
1 parent 781b73b commit 8bb3977
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions doc/en/index.rst
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions doc/en/reference.rst
Expand Up @@ -3,8 +3,6 @@
API Reference
=============

.. module:: pytest

This page contains the full reference to pytest's API.

.. contents::
Expand Down

0 comments on commit 8bb3977

Please sign in to comment.