[lld] r214971 - Fix missing favicon.ico warning (Sphinx 1.2.2). The comments next to

Dan Liew dan at su-root.co.uk
Wed Aug 6 07:37:00 PDT 2014


Author: delcypher
Date: Wed Aug  6 09:37:00 2014
New Revision: 214971

URL: http://llvm.org/viewvc/llvm-project?rev=214971&view=rev
Log:
Fix missing favicon.ico warning (Sphinx 1.2.2). The comments next to
``html_favicon`` seem to conflict with [what it in the sphinx
docs](http://sphinx-doc.org/config.html#confval-html_favicon).

So I've copied the comments from there to conf.py and changed its
value appropriately to remove the missing favicon.ico warning.

Modified:
    lld/trunk/docs/conf.py

Modified: lld/trunk/docs/conf.py
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/docs/conf.py?rev=214971&r1=214970&r2=214971&view=diff
==============================================================================
--- lld/trunk/docs/conf.py (original)
+++ lld/trunk/docs/conf.py Wed Aug  6 09:37:00 2014
@@ -111,10 +111,13 @@ html_theme_path = ["."]
 # of the sidebar.
 #html_logo = None
 
-# The name of an image file (within the static path) to use as favicon of the
-# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
-html_favicon = 'favicon.ico'
+# If given, this must be the name of an image file (path relative to the
+# configuration directory) that is the favicon of the docs. Modern browsers use
+# this as icon for tabs, windows and bookmarks. It should be a Windows-style
+# icon file (.ico), which is 16x16 or 32x32 pixels large. Default: None.  The
+# image file will be copied to the _static directory of the output HTML, but
+# only if the file does not already exist there.
+html_favicon = '_static/favicon.ico'
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,





More information about the llvm-commits mailing list