Deprecate app.html_themes

The register is much better to store the HTML themes instead of the
application object.  So this migrates it to the registry object.
This commit is contained in:
Takeshi KOMIYA
2021-05-12 01:22:29 +09:00
parent 96dbe5e354
commit 5078069eb1
5 changed files with 24 additions and 5 deletions

View File

@@ -22,6 +22,11 @@ The following is a list of deprecated interfaces.
- (will be) Removed
- Alternatives
* - ``sphinx.application.Sphinx.html_theme``
- 4.1
- 6.0
- ``sphinx.registry.SphinxComponentRegistry.html_themes``
* - ``sphinx.util.docstrings.extract_metadata()``
- 4.1
- 6.0