mirror of
https://github.com/django/django.git
synced 2025-07-09 22:35:19 +00:00
Bumped minimum Sphinx version to 1.6.0.
This commit is contained in:
parent
a4f0e9aec7
commit
de0e54ea00
2 changed files with 2 additions and 6 deletions
|
@ -14,11 +14,7 @@ from sphinx.directives import CodeBlock
|
|||
from sphinx.domains.std import Cmdoption
|
||||
from sphinx.util.console import bold
|
||||
from sphinx.util.nodes import set_source_info
|
||||
|
||||
try:
|
||||
from sphinx.writers.html import SmartyPantsHTMLTranslator as HTMLTranslator
|
||||
except ImportError: # Sphinx 1.6+
|
||||
from sphinx.writers.html import HTMLTranslator
|
||||
from sphinx.writers.html import HTMLTranslator
|
||||
|
||||
# RE for option descriptions without a '--' prefix
|
||||
simple_option_desc_re = re.compile(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue