fixed. Sphinx 1.3 can't load extra theme.

This commit is contained in:
tell-k 2015-03-12 11:22:44 +09:00
parent 8f26544dc5
commit f86b0ee35b

View File

@ -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