Skip to content

Commit b802497

Browse files
authored
Merge pull request #1761 from altendky/sphinx_supports_png_favicon
Use .png for favicon on RTD
2 parents 16f2303 + e4be78c commit b802497

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

docs/source/_static/favicon-32.ico

-4.19 KB
Binary file not shown.

docs/source/conf.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,7 @@ def setup(app):
118118
# The full version, including alpha/beta/rc tags.
119119
release = version
120120

121-
# It would be nicer to make this a .png; literally every browser that
122-
# supports favicons at all now supports png:
123-
# https://caniuse.com/#feat=link-icon-png
124-
# But sphinx won't let me:
125-
# https://github.com/sphinx-doc/sphinx/pull/3715
126-
# Oh well. 'convert favicon-32.png favicon-32.ico' it is. And it's only 2x
127-
# bigger...
128-
html_favicon = "_static/favicon-32.ico"
121+
html_favicon = "_static/favicon-32.png"
129122
html_logo = "../../logo/wordmark-transparent.svg"
130123
# & down below in html_theme_options we set logo_only=True
131124

0 commit comments

Comments
 (0)