mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-31 17:17:43 -05:00
Fix mypy type error
This commit is contained in:
1 parent
9dd866263e
commit
ced9fef2dc
1 file changed
+1
-1
@@ -289,7 +289,7 @@ class StandaloneHTMLBuilder(Builder):
|
||||
if self.config.html_pygments_aux_styles is not None:
|
||||
aux_styles = self.config.html_pygments_aux_styles
|
||||
elif self.theme and self.theme.config.has_section('auxiliary_styles'):
|
||||
aux_styles = self.theme.config.items('options')
|
||||
aux_styles = dict(self.theme.config.items('options'))
|
||||
for style, css_selector in aux_styles.items():
|
||||
self.aux_highlighters[style] = (PygmentsBridge('html', style), css_selector)
|
||||
|
||||
|
||||
Reference in new issue
Block a user