Moved documentation topics to group them by theme.

Reordered items in:

* _templates/globaltoc.html
* contents.rst
This commit is contained in:
Daniele Procida 2021-03-11 17:22:54 +00:00
parent c9867bcc9d
commit a362200d47
2 changed files with 36 additions and 9 deletions

View File

@ -3,11 +3,11 @@
<ul> <ul>
<li><a href="{{ pathto('index') }}">Home</a></li> <li><a href="{{ pathto('index') }}">Home</a></li>
<li><a href="{{ pathto('getting-started') }}">Get started</a></li> <li><a href="{{ pathto('getting-started') }}">Get started</a></li>
<li><a href="{{ pathto('contents') }}">Contents</a></li>
<li><a href="{{ pathto('reference') }}">API Reference</a></li>
<li><a href="{{ pathto('example/index') }}">Examples</a></li> <li><a href="{{ pathto('example/index') }}">Examples</a></li>
<li><a href="{{ pathto('customize') }}">Customize</a></li> <li><a href="{{ pathto('customize') }}">Customize</a></li>
<li><a href="{{ pathto('reference') }}">API Reference</a></li>
<li><a href="{{ pathto('plugin_list') }}">3rd party plugins</a></li> <li><a href="{{ pathto('plugin_list') }}">3rd party plugins</a></li>
<li><a href="{{ pathto('contents') }}">Complete table of contents</a></li>
<li><a href="{{ pathto('changelog') }}">Changelog</a></li> <li><a href="{{ pathto('changelog') }}">Changelog</a></li>
<li><a href="{{ pathto('contributing') }}">Contributing</a></li> <li><a href="{{ pathto('contributing') }}">Contributing</a></li>
<li><a href="{{ pathto('backwards-compatibility') }}">Backwards Compatibility</a></li> <li><a href="{{ pathto('backwards-compatibility') }}">Backwards Compatibility</a></li>

View File

@ -7,38 +7,65 @@ Full pytest documentation
.. `Download latest version as EPUB <http://media.readthedocs.org/epub/pytest/latest/pytest.epub>`_ .. `Download latest version as EPUB <http://media.readthedocs.org/epub/pytest/latest/pytest.epub>`_
Start here
-----------
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
getting-started getting-started
How-to guides
-------------
.. toctree::
:maxdepth: 2
usage usage
existingtestsuite existingtestsuite
assert assert
fixture
mark mark
monkeypatch monkeypatch
tmpdir tmpdir
capture capture
warnings
doctest
skipping skipping
parametrize parametrize
plugins
nose
bash-completion
Reference guides
-----------------
.. toctree::
:maxdepth: 2
fixture
warnings
doctest
cache cache
unittest unittest
nose
xunit_setup xunit_setup
plugins
plugin_list plugin_list
writing_plugins writing_plugins
logging logging
customize
reference reference
Further topics
-----------------
.. toctree::
:maxdepth: 2
goodpractices goodpractices
flaky flaky
pythonpath pythonpath
customize
example/index example/index
bash-completion
backwards-compatibility backwards-compatibility
deprecations deprecations