From 804d88e30073e4b04ed61ffcd6daa8614f534d69 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 18 Aug 2020 20:02:54 -0400 Subject: A better way to fix sphinx-tabs --- doc/conf.py | 3 +++ doc/requirements.pip | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.1