mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
theming: make warning a bit more explicit
This commit is contained in:
parent
06944af540
commit
5d845a94a2
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user