[Python-modules-commits] [jsonpickle] 03/09: disable Sphinx extensions not available in Debian or requiring remote access
Sophie Brun
sbrun-guest at moszumanska.debian.org
Tue Aug 22 06:56:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbrun-guest pushed a commit to branch master
in repository jsonpickle.
commit 6151b858384f82248920ec8df0982a8ae1132f23
Author: Jan Dittberner <jandd at debian.org>
Date: Thu Oct 8 09:25:42 2015 -0700
disable Sphinx extensions not available in Debian or requiring remote access
Patch-Name: disable-unsupported-sphinx-extension.patch
---
docs/source/conf.py | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-)
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 8be2120..ea9c64b 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -19,24 +19,11 @@ import sys, os
sys.path.insert(0, os.path.abspath(os.path.join('..', '..')))
import jsonpickle
-sys.path.insert(1, os.path.abspath(os.path.join('..', '..', 'thirdparty', 'sphinx-to-github')))
-try:
- import sphinxtogithub
- sphinxtogithub # import side-effects
-except ImportError, e:
- raise ImportError('Could not import sphinxtogithub\n'
- 'Is the git submodule populated at thirdparty/sphinx-to-github?\n'
- 'At the project root run:\n'
- '\tgit submodule init\n'
- '\tgit submodule update')
-
# -- General configuration -----------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinxtogithub']
-
-sphinx_to_github = True
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -206,7 +193,3 @@ latex_documents = [
# If false, no module index is generated.
#latex_use_modindex = True
-
-
-# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jsonpickle.git
More information about the Python-modules-commits
mailing list