mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #9167 from bonartm/fix_css_specific_page
html: fix missing reverting when adding css files to specific page
This commit is contained in:
@@ -1026,7 +1026,7 @@ class StandaloneHTMLBuilder(Builder):
|
||||
|
||||
# revert script_files and css_files
|
||||
self.script_files[:] = self._script_files
|
||||
self.css_files[:] = self.css_files
|
||||
self.css_files[:] = self._css_files
|
||||
|
||||
self.update_page_context(pagename, templatename, ctx, event_arg)
|
||||
newtmpl = self.app.emit_firstresult('html-page-context', pagename,
|
||||
|
||||
Reference in New Issue
Block a user