using correct readthedocs theme?

This commit is contained in:
Anton Lydike 2021-04-23 19:13:34 +02:00
parent f5afd0a8be
commit 2810fb53a2

View File

@ -70,3 +70,14 @@ html_theme = 'alabaster'
html_static_path = ['_static']
sys.path.insert(0, os.path.abspath('../../'))
if os.getenv('READTHEDOCS', False):
import sphinx_rtd_theme
extensions = [
...
"sphinx_rtd_theme",
]
html_theme = "sphinx_rtd_theme"