diff options
author | Brad King <brad.king@kitware.com> | 2014-10-29 15:42:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-07 14:50:50 (GMT) |
commit | 5088e0a0488a913a1ae1f011584bd5ad8d5e7b18 (patch) | |
tree | 51167c17f9b2c8d761f9806c2fabd2fa8a131943 /Utilities/Sphinx | |
parent | 54ff77dc621a91302abad0ab38d9bd26de8914b9 (diff) | |
download | CMake-5088e0a0488a913a1ae1f011584bd5ad8d5e7b18.zip CMake-5088e0a0488a913a1ae1f011584bd5ad8d5e7b18.tar.gz CMake-5088e0a0488a913a1ae1f011584bd5ad8d5e7b18.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/Sphinx')
-rw-r--r-- | Utilities/Sphinx/conf.py.in | 2 |
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" |