Deprecate DocumenterBridge.warn()

Since 1.6, sphinx.util.logging module became the default logging
interface of Sphinx. It allows sphinx-components to output log
without the app (or env) object.  According to the policy,
DocumenterBridge.warn() is no longer needed and should be replaced by
the logging module.
This commit is contained in:
Takeshi KOMIYA
2021-03-21 01:09:03 +09:00
parent f60ee524ba
commit 6007bbf797
3 changed files with 9 additions and 0 deletions

View File

@@ -47,6 +47,11 @@ The following is a list of deprecated interfaces.
- 6.0
- ``sphinx.ext.autodoc.directive.DocumenterBridge.record_dependencies``
* - ``sphinx.ext.autodoc.directive.DocumenterBridge.warn()``
- 4.0
- 6.0
- :ref:`logging-api`
* - ``sphinx.registry.SphinxComponentRegistry.get_source_input()``
- 4.0
- 6.0