mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update error message if sphinx_rtd_theme not found
This commit is contained in:
parent
8318b87642
commit
3432377669
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user