mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix ref URL of the pr role.
This commit is contained in:
parent
d12fc05de0
commit
496c207a26
@ -74,7 +74,7 @@ def issue_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):
|
|||||||
def pull_request_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):
|
def pull_request_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):
|
||||||
issue = utils.unescape(text)
|
issue = utils.unescape(text)
|
||||||
text = 'pull request ' + issue
|
text = 'pull request ' + issue
|
||||||
refnode = nodes.reference(text, text, refuri=ISSUE_URI % issue)
|
refnode = nodes.reference(text, text, refuri=PULL_REQUEST_URI % issue)
|
||||||
return [refnode], []
|
return [refnode], []
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user