using correct readthedocs theme?
This commit is contained in:
parent
f5afd0a8be
commit
2810fb53a2
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user