summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index b1467c7..c84ebae 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -27,7 +27,8 @@ sys.path.append(os.path.abspath('_themes'))
# 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.intersphinx']
+ 'sphinx.ext.intersphinx',
+ 'sphinx.ext.extlinks']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -254,3 +255,8 @@ texinfo_documents = [
intersphinx_mapping = {
'http://docs.python.org/2': None,
}
+
+extlinks = {
+ 'gh': ('https://github.com/mitsuhiko/babel/issues/%s', '#'),
+ 'trac': ('http://babel.edgewall.org/ticket/%s', 'ticket #'),
+}