mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1386: Fix bug preventing more than one theme being added by the entry point mechanism.
This commit is contained in:
parent
aa2f064e2f
commit
3149f36189
2
CHANGES
2
CHANGES
@ -17,6 +17,8 @@ Bugs fixed
|
||||
* #1383: Fix Python 2.5 compatibility of sphinx-apidoc.
|
||||
* #1391: Actually prevent using "pngmath" and "mathjax" extensions at the same
|
||||
time in sphinx-quickstart.
|
||||
* #1386: Fix bug preventing more than one theme being added by the entry point
|
||||
mechanism.
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
@ -72,7 +72,7 @@ class Theme(object):
|
||||
for theme in os.listdir(themedir):
|
||||
if not path.isfile(path.join(themedir, theme, THEMECONF)):
|
||||
continue
|
||||
cls.themes[theme] = (path.join(themedir, theme), None)
|
||||
cls.themes[theme] = (path.join(themedir, theme), None)
|
||||
|
||||
def __init__(self, name):
|
||||
if name not in self.themes:
|
||||
|
Loading…
Reference in New Issue
Block a user