|
@@ -17,7 +17,7 @@ import os
|
|
|
import sphinx
|
|
|
|
|
|
# Get Sphinx version
|
|
|
-major, minor, patch = map(int, sphinx.__version__.split("."))
|
|
|
+major, minor, patch = sphinx.version_info[:3]
|
|
|
|
|
|
|
|
|
# If extensions (or modules to document with autodoc) are in another directory,
|
|
@@ -29,7 +29,7 @@ from load_config import loadConfig
|
|
|
# -- General configuration ------------------------------------------------
|
|
|
|
|
|
# If your documentation needs a minimal Sphinx version, state it here.
|
|
|
-#needs_sphinx = '1.0'
|
|
|
+needs_sphinx = '1.2'
|
|
|
|
|
|
# Add any Sphinx extension module names here, as strings. They can be
|
|
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|