diff options
Diffstat (limited to 'releasenotes/source/conf.py')
| -rw-r--r-- | releasenotes/source/conf.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 1b6929e2..12ed68df 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -40,8 +40,28 @@ extensions = [ 'oslosphinx', 'reno.sphinxext', + 'sphinx.ext.extlinks', ] +# Set aliases for extlinks +# * lpbug - generic Launchpad bug :lpbug:`123456` +# * oscbp - OSC blueprints :oscbp:`Blue Print <bp-name>` +# * oscdoc - OSC Docs :oscdoc:`Comamnd List <command-list>` +extlinks = { + 'lpbug': ( + 'https://bugs.launchpad.net/bugs/%s', + 'Bug ', + ), + 'oscbp': ( + 'https://blueprints.launchpad.net/python-openstackclient/+spec/%s', + '', + ), + 'oscdoc': ( + 'http://docs.openstack.org/developer/python-openstackclient/%s.html', + '', + ), +} + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] |
