mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user