summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-04-16 00:05:28 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-04-16 00:07:09 +0900
commit8e0da4ee382ea952fb2f7918f613e87b51761195 (patch)
treebc930d2263de89c33a3b62943c77eb0aa36a49e8
parentd7025cd1a73fd47e8f415be0e0d1fbcb4a796157 (diff)
downloadsphinx-git-8e0da4ee382ea952fb2f7918f613e87b51761195.tar.gz
Update deprecation message for source_suffix (refs: #6283)
-rw-r--r--sphinx/util/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py
index 5d8cbb3db..492c313d0 100644
--- a/sphinx/util/compat.py
+++ b/sphinx/util/compat.py
@@ -29,7 +29,7 @@ def deprecate_source_parsers(app, config):
# type: (Sphinx, Config) -> None
if config.source_parsers:
warnings.warn('The config variable "source_parsers" is deprecated. '
- 'Please use app.add_source_parser() API instead.',
+ 'Please update your extension for the parser and remove the setting.',
RemovedInSphinx30Warning)
for suffix, parser in config.source_parsers.items():
if isinstance(parser, str):