theming: make warning a bit more explicit

This commit is contained in:
Georg Brandl 2015-02-23 20:18:39 +01:00
parent 06944af540
commit 5d845a94a2

View File

@ -103,7 +103,9 @@ class Theme(object):
if name == 'default' and warn: if name == 'default' and warn:
warn("'default' html theme has been renamed to 'classic'. " warn("'default' html theme has been renamed to 'classic'. "
"Please rename it to 'alabaster' new theme or 'classic'.") "Please change your html_theme setting either to "
"the new 'alabaster' default theme, or to 'classic' "
"to keep using the old default.")
tdir, tinfo = self.themes[name] tdir, tinfo = self.themes[name]
if tinfo is None: if tinfo is None: