mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update deprecation message for source_suffix (refs: #6283)
This commit is contained in:
parent
d7025cd1a7
commit
8e0da4ee38
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user