mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #3717 from njsmith/favicon-png-is-ok
Stop enforcing that favicon's must be .ico
This commit is contained in:
commit
6d2e05dbe4
@ -305,8 +305,6 @@ class StandaloneHTMLBuilder(Builder):
|
||||
|
||||
favicon = self.config.html_favicon and \
|
||||
path.basename(self.config.html_favicon) or ''
|
||||
if favicon and os.path.splitext(favicon)[1] != '.ico':
|
||||
self.warn('html_favicon is not an .ico file')
|
||||
|
||||
if not isinstance(self.config.html_use_opensearch, string_types):
|
||||
self.warn('html_use_opensearch config value must now be a string')
|
||||
|
Loading…
Reference in New Issue
Block a user