Merge pull request #8630 from tk0miya/8629_warning_for_html_use_opensearch_twice

Fix #8629: html: A type warning for html_use_opensearch is shown twice
This commit is contained in:
Takeshi KOMIYA 2021-01-01 13:14:39 +09:00 committed by GitHub
commit 54ef601049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -34,6 +34,7 @@ Bugs fixed
:recursive: option
* #8618: html: kbd role produces incorrect HTML when compound-key separators (-,
+ or ^) are used as keystrokes
* #8629: html: A type warning for html_use_opensearch is shown twice
* #8094: texinfo: image files on the different directory with document are not
copied

View File

@ -448,9 +448,6 @@ class StandaloneHTMLBuilder(Builder):
logo = path.basename(self.config.html_logo) if self.config.html_logo else ''
favicon = path.basename(self.config.html_favicon) if self.config.html_favicon else ''
if not isinstance(self.config.html_use_opensearch, str):
logger.warning(__('html_use_opensearch config value must now be a string'))
self.relations = self.env.collect_relations()
rellinks = [] # type: List[Tuple[str, str, str, str]]