Show More
@@ -25,7 +25,7 b' def make_link_node(rawtext, app, type, slug, options):' | |||||
25 |
|
25 | |||
26 | :param rawtext: Text being replaced with link node. |
|
26 | :param rawtext: Text being replaced with link node. | |
27 | :param app: Sphinx application context |
|
27 | :param app: Sphinx application context | |
28 | :param type: Link type (issue, changeset, etc.) |
|
28 | :param type: Link type (issues, changeset, etc.) | |
29 | :param slug: ID of the thing to link to |
|
29 | :param slug: ID of the thing to link to | |
30 | :param options: Options dictionary passed to role func. |
|
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 | if 'pull' in name.lower(): |
|
79 | if 'pull' in name.lower(): | |
80 | category = 'pull' |
|
80 | category = 'pull' | |
81 | elif 'issue' in name.lower(): |
|
81 | elif 'issue' in name.lower(): | |
82 | category = 'issue' |
|
82 | category = 'issues' | |
83 | else: |
|
83 | else: | |
84 | msg = inliner.reporter.error( |
|
84 | msg = inliner.reporter.error( | |
85 | 'GitHub roles include "ghpull" and "ghissue", ' |
|
85 | 'GitHub roles include "ghpull" and "ghissue", ' |
General Comments 0
You need to be logged in to leave comments.
Login now