Skip to content

Commit d9546c6

Browse files
authored
Merge pull request #295 from bendudson/docs-theme
Unify docs theme with BOUT++
2 parents bfe2ee9 + 2f51fa4 commit d9546c6

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

docs/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
breathe
22
recommonmark
3-
sphinx-rtd-theme
3+
sphinx-book-theme
44

docs/sphinx/conf.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,8 @@
148148
# The theme to use for HTML and HTML Help pages. See the documentation for
149149
# a list of builtin themes.
150150
#
151-
if on_readthedocs:
152-
import sphinx_rtd_theme
153-
html_theme = 'sphinx_rtd_theme'
154-
else:
155-
html_theme = 'sphinxdoc'
151+
152+
html_theme = 'sphinx_book_theme'
156153

157154
# Theme options are theme-specific and customize the look and feel of a theme
158155
# further. For a list of options available for each theme, see the

0 commit comments

Comments
 (0)