Skip to content

Commit a0d6036

Browse files
authored
Merge pull request #9167 from bonartm/fix_css_specific_page
html: fix missing reverting when adding css files to specific page
2 parents cfb9183 + a7c5a3a commit a0d6036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/builders/html/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ def hasdoc(name: str) -> bool:
10261026

10271027
# revert script_files and css_files
10281028
self.script_files[:] = self._script_files
1029-
self.css_files[:] = self.css_files
1029+
self.css_files[:] = self._css_files
10301030

10311031
self.update_page_context(pagename, templatename, ctx, event_arg)
10321032
newtmpl = self.app.emit_firstresult('html-page-context', pagename,

0 commit comments

Comments
 (0)