summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2013-06-14 23:34:47 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2013-06-14 23:34:47 +0200
commit251ae29b4beedd7e9af721ceabb82a03f2d55bab (patch)
treebbc8de04b7b952a131ae4dbcc69b55c44062781b /docs/conf.py
parent2cb136cfb8ef1d4b3a2cb68c4cbc23547bfc395f (diff)
downloadfactory-boy-251ae29b4beedd7e9af721ceabb82a03f2d55bab.tar
factory-boy-251ae29b4beedd7e9af721ceabb82a03f2d55bab.tar.gz
doc: Add :issue: markup
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 0ccaf29..ee6a739 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']