mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-05-17 21:20:11 +00:00
Fix read the doc default theme (#1668)
* Fix doc theme because rtd change default * Fix doc build
This commit is contained in:
parent
e071796549
commit
57dbefe80c
1 changed files with 1 additions and 7 deletions
|
|
@ -112,13 +112,7 @@ pygments_style = "sphinx"
|
|||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
|
||||
# Fix for read the docs
|
||||
on_rtd = os.environ.get("READTHEDOCS") == "True"
|
||||
if on_rtd:
|
||||
html_theme = "default"
|
||||
else:
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
html_logo = "_static/img/logo.png"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue