mirror of
https://github.com/django/django.git
synced 2025-03-11 01:42:35 +00:00
Bumped minimum Sphinx version to 1.6.0.
This commit is contained in:
parent
a4f0e9aec7
commit
de0e54ea00
@ -14,10 +14,6 @@ from sphinx.directives import CodeBlock
|
|||||||
from sphinx.domains.std import Cmdoption
|
from sphinx.domains.std import Cmdoption
|
||||||
from sphinx.util.console import bold
|
from sphinx.util.console import bold
|
||||||
from sphinx.util.nodes import set_source_info
|
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
|
# RE for option descriptions without a '--' prefix
|
||||||
|
@ -32,7 +32,7 @@ sys.path.append(abspath(join(dirname(__file__), "_ext")))
|
|||||||
# -- General configuration -----------------------------------------------------
|
# -- General configuration -----------------------------------------------------
|
||||||
|
|
||||||
# If your documentation needs a minimal Sphinx version, state it here.
|
# If your documentation needs a minimal Sphinx version, state it here.
|
||||||
needs_sphinx = '1.5.5'
|
needs_sphinx = '1.6.0'
|
||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user