Skip to content
Snippets Groups Projects
Commit 1d16e149 authored by Rob Moss's avatar Rob Moss
Browse files

Remove redundant workaround for sphinx_rtd_theme

We no longer import sphinx_rtd_theme in doc/conf.py, so documentation
tests now run without requiring sphinx_rtd_theme to be installed.
parent 9ab901e7
Branches
Tags
No related merge requests found
......@@ -6,9 +6,6 @@ import os
# documentation root, use os.path.abspath to make it absolute, as shown here.
sys.path.insert(0, os.path.abspath(os.path.join('..', 'src')))
# Determine whether the documentation is being built on Read The Docs.
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
......
......@@ -64,10 +64,6 @@ def tests(session):
'./tests',
'./doc',
*session.posargs,
env={
# NOTE: Do not import sphinx_rtd_theme in doc/conf.py.
'READTHEDOCS': 'True',
},
)
# Ensure that regression test outputs have not changed.
session.run(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment