##// END OF EJS Templates
Correct links to issues by Sphinx github extension.
Thomas Kluyver -
Show More
@@ -25,7 +25,7 b' def make_link_node(rawtext, app, type, slug, options):'
25 25
26 26 :param rawtext: Text being replaced with link node.
27 27 :param app: Sphinx application context
28 :param type: Link type (issue, changeset, etc.)
28 :param type: Link type (issues, changeset, etc.)
29 29 :param slug: ID of the thing to link to
30 30 :param options: Options dictionary passed to role func.
31 31 """
@@ -79,7 +79,7 b' def ghissue_role(name, rawtext, text, lineno, inliner, options={}, content=[]):'
79 79 if 'pull' in name.lower():
80 80 category = 'pull'
81 81 elif 'issue' in name.lower():
82 category = 'issue'
82 category = 'issues'
83 83 else:
84 84 msg = inliner.reporter.error(
85 85 'GitHub roles include "ghpull" and "ghissue", '
General Comments 0
You need to be logged in to leave comments. Login now