summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-29 15:42:03 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-29 15:43:55 (GMT)
commitca83c39ce0732237c175f60e6d5b204ce5f907e7 (patch)
treef65fa3fa44f9a56f378ff44bdcef329d93d42cb2 /Utilities
parent3942cf68b2e3b808b87c0127b1aa7bf52c59696c (diff)
downloadCMake-ca83c39ce0732237c175f60e6d5b204ce5f907e7.zip
CMake-ca83c39ce0732237c175f60e6d5b204ce5f907e7.tar.gz
CMake-ca83c39ce0732237c175f60e6d5b204ce5f907e7.tar.bz2
Utilities/Sphinx: Fix html_favicon configuration
The value must be either a full path or relative to the configuration directory, not relative to the 'static' directory. Use a full path. This avoids a warning: WARNING: favicon file 'cmake-favicon.ico' does not exist It worked before because all 'static' directory content is copied to the '_static' directory of html output anyway.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Sphinx/conf.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Sphinx/conf.py.in b/Utilities/Sphinx/conf.py.in
index d81bbcf..fc26790 100644
--- a/Utilities/Sphinx/conf.py.in
+++ b/Utilities/Sphinx/conf.py.in
@@ -60,7 +60,7 @@ html_style = 'cmake.css'
html_theme = 'default'
html_title = 'CMake %s Documentation' % release
html_short_title = '%s Documentation' % release
-html_favicon = 'cmake-favicon.ico'
+html_favicon = '@conf_path@/static/cmake-favicon.ico'
# Not supported yet by sphinx:
# https://bitbucket.org/birkenfeld/sphinx/issue/1448/make-qthelp-more-configurable
# qthelp_namespace = "org.cmake"