summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2016-01-19 19:55:31 -0500
committerDonald Stufft <donald@stufft.io>2016-01-19 19:55:31 -0500
commit4ac44d2a1508e86d78e06fa158373e723f3b4dcb (patch)
treebdcd6e4b760bf325d4f079a8f4c1612927df4cf4 /docs/conf.py
parent134c9a6c67081cda67befd61bae68a999ed00f48 (diff)
parent130399fdd13152d09e5cb133bf72abd95dc7e5b0 (diff)
downloadvirtualenv-14.0.0.tar.gz
Merge branch 'develop'14.0.0
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 1d89554..9332aa1 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -24,10 +24,9 @@ sys.path.insert(0, os.path.abspath(os.pardir))
# 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']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.extlinks']
# Add any paths that contain templates here, relative to this directory.
-## FIXME: disabled for now because I haven't figured out how to use this:
#templates_path = ['_templates']
# The suffix of source filenames.
@@ -74,6 +73,11 @@ unused_docs = []
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
+extlinks = {
+ 'issue': ('https://github.com/pypa/virtualenv/issues/%s', '#'),
+ 'pull': ('https://github.com/pypa/virtualenv/pull/%s', 'PR #'),
+}
+
# Options for HTML output
# -----------------------