Change priority of SphinxSmartQuotes

This commit is contained in:
Takeshi KOMIYA 2018-04-15 02:17:36 +09:00
parent 19585962a2
commit 765aec565d
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@ Incompatible changes
a ``conf.py`` file sphinx-build generates.
* The ``gettext_compact`` attribute is removed from ``document.settings``
object. Please use ``config.gettext_compact`` instead.
* The order of smart_quotes is changed. For more detail, please read a
description of :py:meth:`.Sphinx.add_transform()`
Deprecated
----------

View File

@ -343,6 +343,8 @@ class SphinxSmartQuotes(SmartQuotes, SphinxTransform):
refs: sphinx.parsers.RSTParser
"""
default_priority = 750
def apply(self):
# type: () -> None
if not self.is_available():