mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #3754: HTML builder crashes if HTML theme appends own stylesheets
This commit is contained in:
parent
be6d205a1f
commit
62614afb83
2
CHANGES
2
CHANGES
@ -13,6 +13,8 @@ Features added
|
|||||||
Bugs fixed
|
Bugs fixed
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
* #3754: HTML builder crashes if HTML theme appends own stylesheets
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
@ -121,6 +121,7 @@ class CSSContainer(list):
|
|||||||
RemovedInSphinx20Warning)
|
RemovedInSphinx20Warning)
|
||||||
for item in other:
|
for item in other:
|
||||||
self.append(item)
|
self.append(item)
|
||||||
|
return self
|
||||||
|
|
||||||
def __add__(self, other):
|
def __add__(self, other):
|
||||||
ret = CSSContainer(self)
|
ret = CSSContainer(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user