From 000dd3d408ae79e4e1580faa4b6ec22f3097debd Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Tue, 22 Nov 2022 16:20:42 -0500 Subject: [PATCH] Remove making believe we are ReadTheDocs in CI builds. New sphinxext.opengraph seems to resolve the issue. --- docs/requirements.txt | 2 +- tox.ini | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 555f70ec4..1d5d55f10 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -97,7 +97,7 @@ sphinxcontrib-serializinghtml==1.1.5 # via sphinx sphinxcontrib-spelling==7.7.0 # via -r docs/requirements.in -sphinxext-opengraph==0.7.2 +sphinxext-opengraph==0.7.3 # via -r docs/requirements.in unidecode==1.3.6 # via sphinx-autoapi diff --git a/tox.ini b/tox.ini index 335fcac70..e4771b0ec 100644 --- a/tox.ini +++ b/tox.ini @@ -95,10 +95,6 @@ commands = {envpython} -m mypy --config {toxinidir}/pyproject.toml {posargs} {to [testenv:docs-dirhtml] commands = {envpython} -m sphinx -b dirhtml {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W} -# REMOVEME: See https://github.com/wpilibsuite/sphinxext-opengraph/issues/87 -setenv = - {[testenv]setenv} - READTHEDOCS=true deps = -r{toxinidir}/docs/requirements.txt