diff options
author | Anas Nashif <anas.nashif@intel.com> | 2017-01-03 14:43:02 -0500 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2017-01-05 12:26:48 +0000 |
commit | b7b2318148e1cd0352b3d948a2ca270215f90978 (patch) | |
tree | 00c9a1c8c014da6f60446d7df72c63e17d62fd59 /doc | |
parent | 6d4ff2303eb1eb2cb2980e26e2740f626c2e340d (diff) |
doc: add JIRA macro
In the documentation you can now reference issues in JIRA using the
following macro:
:jira:`ZEP-308`
This will link to the JIRA in the macro.
Change-Id: I3785d4abd243f5c5b75e9e3b58a449e2a3225415
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conf.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py index bf8b23519..683b554bc 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -30,7 +30,8 @@ import shlex # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'sphinx.ext.autodoc', 'breathe', 'sphinx.ext.todo' + 'sphinx.ext.autodoc', 'breathe', 'sphinx.ext.todo', + 'sphinx.ext.extlinks' ] # Add any paths that contain templates here, relative to this directory. @@ -320,3 +321,5 @@ breathe_default_project = "Zephyr" html_context = { 'show_license': html_show_license, } + +extlinks = {'jira': ('https://jira.zephyrproject.org/browse/%s', '')} |