File tree Expand file tree Collapse file tree 3 files changed +25
-4
lines changed Expand file tree Collapse file tree 3 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 1+ API Reference
2+ -------------
3+
4+ This is a reference to the plugin API.
5+
6+ Hooks
7+ ~~~~~
8+
9+ This plugin exposes the following hooks:
10+
11+ .. automodule :: pytest_html.hooks
12+ :members:
Original file line number Diff line number Diff line change 88# add these directories to sys.path here. If the directory is relative to the
99# documentation root, use os.path.abspath to make it absolute, like shown here.
1010#
11- # import os
12- # import sys
13- # sys.path.insert(0, os.path.abspath('.'))
11+ import os
12+ import sys
13+
14+ sys .path .insert (0 , os .path .abspath ("../src/" ))
15+
16+
1417# -- Project information -----------------------------------------------------
1518
1619project = "pytest-html"
2326# Add any Sphinx extension module names here, as strings. They can be
2427# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2528# ones.
26- extensions = []
29+ extensions = ["sphinx.ext.autodoc" ]
2730
2831# Add any paths that contain templates here, relative to this directory.
2932templates_path = ["_templates" ]
5457
5558# The master toctree document.
5659master_doc = "index"
60+
61+
62+ # -- Options for the autodoc extension ---------------------------------------
63+
64+ autodoc_member_order = "alphabetical"
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ pytest-html is a plugin for `pytest`_ that generates a HTML report for test resu
1414
1515 installing
1616 user_guide
17+ api_reference
1718 development
1819
1920.. _pytest : http://pytest.org
You can’t perform that action at this time.
0 commit comments