Commit f54eadd 1 parent fa712ce commit f54eadd Copy full SHA for f54eadd
File tree 3 files changed +8
-10
lines changed
3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ sphinx:
17
17
18
18
# We recommend specifying your dependencies to enable reproducible builds:
19
19
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20
- # python:
21
- # install:
22
- # - requirements: docs/requirements.txt
20
+ python :
21
+ install :
22
+ - requirements : docs/requirements.txt
Original file line number Diff line number Diff line change @@ -106,13 +106,9 @@ def _version_info():
106
106
# The theme to use for HTML and HTML Help pages. See the documentation for
107
107
# a list of builtin themes.
108
108
109
- on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
110
- if on_rtd :
111
- html_theme = 'default'
112
- else :
113
- import sphinx_rtd_theme
114
- html_theme = 'sphinx_rtd_theme'
115
- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
109
+ import sphinx_rtd_theme
110
+ html_theme = 'sphinx_rtd_theme'
111
+ html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
116
112
117
113
# Theme options are theme-specific and customize the look and feel of a theme
118
114
# further. For a list of options available for each theme, see the
Original file line number Diff line number Diff line change
1
+ sphinx
2
+ sphinx_rtd_theme
You can’t perform that action at this time.
0 commit comments