summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 0ccaf29..4f76d45 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,7 +26,16 @@ sys.path.insert(0, os.path.dirname(os.path.abspath('.')))
# 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.viewcode']
+extensions = [
+ 'sphinx.ext.autodoc',
+ 'sphinx.ext.extlinks',
+ 'sphinx.ext.intersphinx',
+ 'sphinx.ext.viewcode',
+]
+
+extlinks = {
+ 'issue': ('https://github.com/rbarrois/factory_boy/issues/%s', 'issue #'),
+}
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -237,4 +246,8 @@ intersphinx_mapping = {
'http://docs.djangoproject.com/en/dev/',
'http://docs.djangoproject.com/en/dev/_objects/',
),
+ 'sqlalchemy': (
+ 'http://docs.sqlalchemy.org/en/rel_0_8/',
+ 'http://docs.sqlalchemy.org/en/rel_0_8/objects.inv',
+ ),
}