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>
This commit is contained in:
parent
6d4ff2303e
commit
b7b2318148
|
@ -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', '')}
|
||||
|
|
Loading…
Reference in a new issue