diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-04-16 00:05:28 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-04-16 00:07:09 +0900 |
commit | 8e0da4ee382ea952fb2f7918f613e87b51761195 (patch) | |
tree | bc930d2263de89c33a3b62943c77eb0aa36a49e8 /sphinx/util/compat.py | |
parent | d7025cd1a73fd47e8f415be0e0d1fbcb4a796157 (diff) | |
download | sphinx-git-8e0da4ee382ea952fb2f7918f613e87b51761195.tar.gz |
Update deprecation message for source_suffix (refs: #6283)
Diffstat (limited to 'sphinx/util/compat.py')
-rw-r--r-- | sphinx/util/compat.py | 2 |
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): |