From 8e0da4ee382ea952fb2f7918f613e87b51761195 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Tue, 16 Apr 2019 00:05:28 +0900 Subject: [PATCH] Update deprecation message for source_suffix (refs: #6283) --- sphinx/util/compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):