Update error message if sphinx_rtd_theme not found

This commit is contained in:
Takeshi KOMIYA committed 2016-01-15 21:14:04 +09:00
1 parent 8318b87642
commit 3432377669
1 file changed
+2 -2
+2 -2
View File
@@ -103,8 +103,8 @@ class Theme(object):
self.load_extra_theme(name)
if name not in self.themes:
if name == 'sphinx_rtd_theme':
raise ThemeError('sphinx_rtd_theme has been unbundled since version '
'1.4.0. Please install it manually.')
raise ThemeError('sphinx_rtd_theme is no longer a hard dependency '
'since version 1.4.0. Please install it manually.')
else:
raise ThemeError('no theme named %r found '
'(missing theme.conf?)' % name)