Skip to content

Commit 11a26be

Browse files
joelostblomjorisvandenbossche
authored andcommitted
DOC: add favicon to doc pages (#21440)
1 parent 73c0da0 commit 11a26be

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/source/_static/favicon.ico

3.81 KB
Binary file not shown.

doc/source/conf.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -213,16 +213,16 @@
213213
# of the sidebar.
214214
# html_logo = None
215215

216-
# The name of an image file (within the static path) to use as favicon of the
217-
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
218-
# pixels large.
219-
# html_favicon = None
220-
221216
# Add any paths that contain custom static files (such as style sheets) here,
222217
# relative to this directory. They are copied after the builtin static files,
223218
# so a file named "default.css" will overwrite the builtin "default.css".
224219
html_static_path = ['_static']
225220

221+
# The name of an image file (within the static path) to use as favicon of the
222+
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
223+
# pixels large.
224+
html_favicon = os.path.join(html_static_path[0], 'favicon.ico')
225+
226226
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
227227
# using the given strftime format.
228228
# html_last_updated_fmt = '%b %d, %Y'

0 commit comments

Comments
 (0)