mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
add favicon to documentation
This change copies the Wagtail admin favicon.ico (from wagtail/admin/static_src/wagtailadmin/images) into the Sphinx build directory so that built docs use the same favicon as the admin. Makes use of [the Sphinx `html_favicon` setting](http://www.sphinx-doc.org/en/1.5.1/config.html#confval-html_favicon) which adds this line to the generated HTML: ```html <link rel="shortcut icon" href="_static/favicon.ico"/> ``` Fixes #4340.
This commit is contained in:
parent
8f45392861
commit
e2f2a8c005
2 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ html_logo = 'logo.png'
|
|||
# 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 = None
|
||||
html_favicon = '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,
|
||||
|
|
|
|||
BIN
docs/favicon.ico
Normal file
BIN
docs/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
Loading…
Reference in a new issue