mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #1777 from tell-k/fix-load-extra-theme
Sphinx 1.3 can't load extra theme.
This commit is contained in:
commit
5c8062f354
@ -86,7 +86,7 @@ class Theme(object):
|
||||
if not path.isdir(themedir):
|
||||
continue
|
||||
for theme in os.listdir(themedir):
|
||||
if theme != 'name':
|
||||
if theme != name:
|
||||
continue
|
||||
if not path.isfile(path.join(themedir, theme, THEMECONF)):
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user