summaryrefslogtreecommitdiff
path: root/sphinx/io.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-02-05 01:02:20 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-02-08 01:39:41 +0900
commit25027945f59fc810b511374d9cf2fad67068ecdf (patch)
tree41beace40a9ec8b069cf5b741bd3950f06656b2f /sphinx/io.py
parent5cca8407b5e48df0d5f8caf3bfb97fa92ad85122 (diff)
downloadsphinx-git-25027945f59fc810b511374d9cf2fad67068ecdf.tar.gz
Close #4550: All tables and figures without ``align`` option are displayed to center
Diffstat (limited to 'sphinx/io.py')
-rw-r--r--sphinx/io.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/io.py b/sphinx/io.py
index 9cc9f44e4..5a93fb334 100644
--- a/sphinx/io.py
+++ b/sphinx/io.py
@@ -21,7 +21,7 @@ from typing import Any, Union # NOQA
from sphinx.deprecation import RemovedInSphinx30Warning
from sphinx.transforms import (
ApplySourceWorkaround, ExtraTranslatableNodes, CitationReferences,
- DefaultSubstitutions, MoveModuleTargets, HandleCodeBlocks, SortIds,
+ DefaultSubstitutions, MoveModuleTargets, HandleCodeBlocks, SortIds, FigureAligner,
AutoNumbering, AutoIndexUpgrader, FilterSystemMessages,
UnreferencedFootnotesDetector, SphinxSmartQuotes, DoctreeReadEvent, ManpageLink
)
@@ -96,7 +96,7 @@ class SphinxStandaloneReader(SphinxBaseReader):
"""
transforms = [ApplySourceWorkaround, ExtraTranslatableNodes, PreserveTranslatableMessages,
Locale, CitationReferences, DefaultSubstitutions, MoveModuleTargets,
- HandleCodeBlocks, AutoNumbering, AutoIndexUpgrader, SortIds,
+ HandleCodeBlocks, AutoNumbering, AutoIndexUpgrader, SortIds, FigureAligner,
RemoveTranslatableInline, FilterSystemMessages, RefOnlyBulletListTransform,
UnreferencedFootnotesDetector, SphinxSmartQuotes, ManpageLink,
SphinxDomains, SubstitutionDefinitionsRemover, DoctreeReadEvent,