summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2020-08-18 20:02:54 -0400
committerNed Batchelder <ned@nedbatchelder.com>2020-08-18 20:02:54 -0400
commit804d88e30073e4b04ed61ffcd6daa8614f534d69 (patch)
tree6f9e804d60c4690c776c9985284fbd3392b35fe3
parent1bf2a0609e7673b6b0dffe3123a760ab4a3c0be6 (diff)
downloadpython-coveragepy-git-804d88e30073e4b04ed61ffcd6daa8614f534d69.tar.gz
A better way to fix sphinx-tabs
-rw-r--r--doc/conf.py3
-rw-r--r--doc/requirements.pip3
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index d2a787dc..a5365bf0 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -232,6 +232,9 @@ linkcheck_ignore = [
r"https://coverage.readthedocs.io/en/coverage-{}$".format(release),
]
+# https://github.com/executablebooks/sphinx-tabs/pull/54
+sphinx_tabs_valid_builders = ['linkcheck']
+
# When auto-doc'ing a class, only write the class' docstring into the class docs,
# don't automatically include the __init__ docstring.
autoclass_content = "class"
diff --git a/doc/requirements.pip b/doc/requirements.pip
index b8a55afd..a984af30 100644
--- a/doc/requirements.pip
+++ b/doc/requirements.pip
@@ -9,5 +9,4 @@ sphinx-rst-builder==0.0.3
sphinxcontrib-spelling==5.1.2
sphinx_rtd_theme==0.5.0
sphinx-autobuild==0.7.1
-# Our own fork that allows linkcheck to work:
-git+https://github.com/nedbat/sphinx-tabs.git@master#egg=sphinx-tabs
+sphinx-tabs==1.2.0