mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update warning message
This commit is contained in:
parent
f175dc1b22
commit
81c0fef4bb
@ -336,7 +336,8 @@ class Sphinx(object):
|
|||||||
@property
|
@property
|
||||||
def buildername(self):
|
def buildername(self):
|
||||||
# type: () -> unicode
|
# type: () -> unicode
|
||||||
warnings.warn('app.buildername is deprecated.', RemovedInSphinx17Warning)
|
warnings.warn('app.buildername is deprecated. Please use app.builder.name instead',
|
||||||
|
RemovedInSphinx17Warning)
|
||||||
return self.builder.name
|
return self.builder.name
|
||||||
|
|
||||||
# ---- main "build" method -------------------------------------------------
|
# ---- main "build" method -------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user