We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d84092f commit 86388fcCopy full SHA for 86388fc
user_manual/source/conf.py
@@ -52,7 +52,13 @@
52
# The theme to use for HTML and HTML Help pages. See the documentation for
53
# a list of builtin themes.
54
#
55
-html_theme = 'alabaster'
+if os.environ.get('USE_SPHINX_RTD_THEME'):
56
+ import sphinx_rtd_theme
57
+ html_theme = "sphinx_rtd_theme"
58
+ html_theme_path = sphinx_rtd_theme.get_html_theme_path()
59
+else:
60
+ html_theme = 'alabaster'
61
+
62
63
# Add any paths that contain custom static files (such as style sheets) here,
64
# relative to this directory. They are copied after the builtin static files,
0 commit comments