mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-11-16 08:49:07 +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
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
|
|
||||||
# Fix for read the docs
|
html_theme = "sphinx_rtd_theme"
|
||||||
on_rtd = os.environ.get("READTHEDOCS") == "True"
|
|
||||||
if on_rtd:
|
|
||||||
html_theme = "default"
|
|
||||||
else:
|
|
||||||
html_theme = "sphinx_rtd_theme"
|
|
||||||
|
|
||||||
html_logo = "_static/img/logo.png"
|
html_logo = "_static/img/logo.png"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue