Fix #4550: The align attribute of figure nodes becomes None by default

To keep compatibility with the standard doctree model of docutils,
this stops to use 'default' value as a default value of the align
attribute for figure and table nodes.
This commit is contained in:
Takeshi KOMIYA
2021-01-16 19:36:25 +09:00
parent 5460ea103b
commit 3248bef3cc
6 changed files with 38 additions and 5 deletions

View File

@@ -41,6 +41,11 @@ The following is a list of deprecated interfaces.
- 6.0
- ``docutils.parsers.rst.diretives.tables.RSTTable``
* - ``sphinx.transforms.FigureAligner``
- 4.0
- 6.0
- N/A
* - ``sphinx.util.pycompat.convert_with_2to3()``
- 4.0
- 6.0