Skip to content

Commit

Permalink
Set up extlinks extension
Browse files Browse the repository at this point in the history
Configure the extlinks extension to make it easy to link
to issues from the documentation.

Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
  • Loading branch information
Doug Hellmann committed Jun 3, 2013
1 parent ae2d9ad commit 7e96738
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/source/conf.py
Expand Up @@ -26,7 +26,12 @@

# 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.todo', 'sphinx.ext.graphviz']
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.todo',
'sphinx.ext.graphviz',
'sphinx.ext.extlinks',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down Expand Up @@ -242,3 +247,7 @@

# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'

extlinks = {
'issue': ('https://github.com/dreamhost/stevedore/issues/%s', 'issue '),
}

0 comments on commit 7e96738

Please sign in to comment.