summaryrefslogtreecommitdiff
path: root/doc/developer/conf.py
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2019-02-18 13:57:43 +0100
committerDavid Lamparter <equinox@diac24.net>2019-02-18 14:39:13 +0100
commit856d02a59aaccc6b47f0410f8263321dc465ae31 (patch)
treed70f67ff4631d622185d4acf4cfe7788ec2ea27f /doc/developer/conf.py
parente3ce59b3f730a2bd2d12f0bc283569051dc26517 (diff)
doc: orange FRR theme
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'doc/developer/conf.py')
-rw-r--r--doc/developer/conf.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/developer/conf.py b/doc/developer/conf.py
index ad501ae39d..af8673e5fa 100644
--- a/doc/developer/conf.py
+++ b/doc/developer/conf.py
@@ -167,12 +167,19 @@ todo_include_todos = True
# a list of builtin themes.
html_theme = 'default'
+try:
+ import sphinx_rtd_theme
+
+ html_theme = 'sphinx_rtd_theme'
+except ImportError:
+ pass
+
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
-html_theme_options = {
- 'sidebarbgcolor': '#374249'
-}
+#html_theme_options = {
+# 'sidebarbgcolor': '#374249'
+#}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []