summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-08-15 07:33:17 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-08-15 10:09:40 -0400
commit87de75db8c2590b54816daf5848d478100b29b00 (patch)
treedf14076297dc1c1685d9ce8eb68f6bd4636b4bcd
parent4eee7dc0962e27ed4598e226a065eb2f825532a6 (diff)
downloadpython-coveragepy-git-87de75db8c2590b54816daf5848d478100b29b00.tar.gz
docs: don't use tabs while we work out the docutil version pinning
-rw-r--r--doc/conf.py2
-rw-r--r--doc/index.rst30
2 files changed, 15 insertions, 17 deletions
diff --git a/doc/conf.py b/doc/conf.py
index cca82316..b88c90c1 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -40,7 +40,7 @@ extensions = [
'sphinx.ext.intersphinx',
'sphinxcontrib.restbuilder',
'sphinx.ext.napoleon',
- 'sphinx_tabs.tabs',
+ #'sphinx_tabs.tabs',
]
# Add any paths that contain templates here, relative to this directory.
diff --git a/doc/index.rst b/doc/index.rst
index 8bc8e83d..c2c666c3 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -68,9 +68,7 @@ Getting started is easy:
Instructions for specific test runners:
- .. tabs::
-
- .. tab:: pytest
+ - **pytest**
If you usually use::
@@ -83,7 +81,7 @@ Getting started is easy:
Many people choose to use the `pytest-cov`_ plugin, but for most
purposes, it is unnecessary.
- .. tab:: unittest
+ - **unittest**
Change "python" to "coverage run", so this::
@@ -93,18 +91,18 @@ Getting started is easy:
$ coverage run -m unittest discover
- .. tab:: nosetest
-
- *Nose has been unmaintained for a long time. You should seriously
- consider adopting a different test runner.*
-
- Change this::
-
- $ nosetests arg1 arg2
-
- to::
-
- $ coverage run -m nose arg1 arg2
+ .. - **nosetest**
+ ..
+ .. *Nose has been unmaintained for a long time. You should seriously
+ .. consider adopting a different test runner.*
+ ..
+ .. Change this::
+ ..
+ .. $ nosetests arg1 arg2
+ ..
+ .. to this::
+ ..
+ .. $ coverage run -m nose arg1 arg2
To limit coverage measurement to code in the current directory, and also
find files that weren't executed at all, add the ``--source=.`` argument to