summaryrefslogtreecommitdiffstats
path: root/Utilities/Sphinx
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2017-03-28 17:24:47 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-28 17:38:42 (GMT)
commit62b85c940622bdcc25964ed95bec68a562de59ee (patch)
tree30f9b7c3835581a161bda633e4d1e3aa9405888f /Utilities/Sphinx
parentcc4fbda1a9fffd8927de870643f167f066b26bcd (diff)
downloadCMake-62b85c940622bdcc25964ed95bec68a562de59ee.zip
CMake-62b85c940622bdcc25964ed95bec68a562de59ee.tar.gz
CMake-62b85c940622bdcc25964ed95bec68a562de59ee.tar.bz2
Utilities/Sphinx: Use brighter colors for html theme
Set Sphinx `html_theme_options` to give the generated documentation a brighter and softer look than the default colors.
Diffstat (limited to 'Utilities/Sphinx')
-rw-r--r--Utilities/Sphinx/conf.py.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/Utilities/Sphinx/conf.py.in b/Utilities/Sphinx/conf.py.in
index e3afc78..7878ad2 100644
--- a/Utilities/Sphinx/conf.py.in
+++ b/Utilities/Sphinx/conf.py.in
@@ -54,6 +54,26 @@ html_show_sourcelink = True
html_static_path = ['@conf_path@/static']
html_style = 'cmake.css'
html_theme = 'default'
+html_theme_options = {
+ 'footerbgcolor': '#00182d',
+ 'footertextcolor': '#ffffff',
+ 'sidebarbgcolor': '#e4ece8',
+ 'sidebarbtncolor': '#00a94f',
+ 'sidebartextcolor': '#333333',
+ 'sidebarlinkcolor': '#00a94f',
+ 'relbarbgcolor': '#00529b',
+ 'relbartextcolor': '#ffffff',
+ 'relbarlinkcolor': '#ffffff',
+ 'bgcolor': '#ffffff',
+ 'textcolor': '#444444',
+ 'headbgcolor': '#f2f2f2',
+ 'headtextcolor': '#003564',
+ 'headlinkcolor': '#3d8ff2',
+ 'linkcolor': '#2b63a8',
+ 'visitedlinkcolor': '#2b63a8',
+ 'codebgcolor': '#eeeeee',
+ 'codetextcolor': '#333333',
+}
html_title = 'CMake %s Documentation' % release
html_short_title = '%s Documentation' % release
html_favicon = '@conf_path@/static/cmake-favicon.ico'