Forráskód Böngészése

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.
Brad King 11 éve
szülő
commit
5088e0a048
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Utilities/Sphinx/conf.py.in

+ 1 - 1
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"