Skip to content

Commit 995cab8

Browse files
author
Ned Batchelder
committed
Make JIRA links really easily
Now you can make JIRA links like this: ``` :jira:`TNL-4904` ```
1 parent 9bc4fa1 commit 995cab8

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

en_us/release_notes/source/2016/lms/lms_0516_2016.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929

3030
* A UTF-8 character encoding error that prevented some course teams from
3131
downloading the CSV file of certificates issued on the instructor dashboard
32-
has been corrected. (CRI-57)
32+
has been corrected. (:jira:`CRI-57`)
3333

3434
.. _XSeries Programs Page: https://partners.edx.org/announcements/coming-soon-xseries-programs-page

shared/conf.py

+15-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,16 @@
2424

2525
# Add any Sphinx extension module names here, as strings. They can be extensions
2626
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
27-
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig']
27+
extensions = [
28+
'sphinx.ext.autodoc',
29+
'sphinx.ext.doctest',
30+
'sphinx.ext.intersphinx',
31+
'sphinx.ext.coverage',
32+
'sphinx.ext.pngmath',
33+
'sphinx.ext.mathjax',
34+
'sphinx.ext.ifconfig',
35+
'sphinx.ext.extlinks',
36+
]
2837

2938
# The suffix of source filenames.
3039
source_suffix = '.rst'
@@ -111,3 +120,8 @@ def feedback_form_url(project, page):
111120
'partnerreleasenotes': ('http://edx.readthedocs.org/projects/edx-release-notes/en/latest/', None),
112121
'2014releasenotes' : ('http://edx.readthedocs.org/projects/edx-2013-2014-release-notes/en/latest/', None)
113122
}
123+
124+
extlinks = {
125+
# :jira:`TNL-4904` becomes: <a href='https://openedx.atlassian.net/browse/TNL-4904'>TNL-4904</a>
126+
'jira': ('https://openedx.atlassian.net/browse/%s', ''),
127+
}

0 commit comments

Comments
 (0)