Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/GazzolaLab/PyElastica
Browse files Browse the repository at this point in the history
  • Loading branch information
nmnaughton committed Apr 9, 2020
2 parents 230a978 + f20af21 commit 8b98797
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,15 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"

import os
on_rtd = os.environ.get('READTHEDOCS') == 'True'
if on_rtd:
html_theme = 'default'
else:
html_theme = 'sphinx_rtd_theme'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_favicon = 'elastica_logo.ico'

html_static_path = ["_static"]
html_favicon = 'elastica_logo.svg'

0 comments on commit 8b98797

Please sign in to comment.