Skip to content

Commit bca9501

Browse files
Revert unrelated documentation changes
1 parent ab0a4c3 commit bca9501

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

doc/api.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ API
33

44
.. module:: pyperf
55

6-
The module version...
7-
86
The module version can be read from ``pyperf.VERSION`` (tuple of int) or
97
``pyperf.__version__`` (str).
108

@@ -195,7 +193,7 @@ Benchmark class
195193

196194
Format values including the unit.
197195

198-
.. method:: get_dates()
196+
.. method:: get_dates() -> (datetime.datetime, datetime.datetime) or None
199197

200198
Get the start date of the first run and the end date of the last run.
201199

@@ -654,6 +652,10 @@ Runner class
654652

655653
See the :ref:`bench_time_func() example <bench_time_func_example>`.
656654

655+
.. method:: is_worker()
656+
657+
Return True if the current process was started with --worker, and False otherwise.
658+
657659
.. method:: parse_args(args=None)
658660

659661
Parse command line arguments using :attr:`argparser` and put the result

doc/conf.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,7 @@
2424
# Add any Sphinx extension module names here, as strings. They can be
2525
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2626
# ones.
27-
extensions = [
28-
'sphinx.ext.autodoc',
29-
'sphinx.ext.intersphinx',
30-
]
31-
32-
intersphinx_mapping = {
33-
'python': ('https://docs.python.org/3', None),
34-
}
27+
extensions = []
3528

3629
# Add any paths that contain templates here, relative to this directory.
3730
templates_path = ['templates']

0 commit comments

Comments
 (0)