handle PR links from GitHub

pull/977/head
Ben Parsons 6 years ago
parent d338f18927
commit 4d59abebf0

@ -152,6 +152,6 @@ for author in authors:
text_file.write("\n.. _" + author + ": https://github.com/" + author[1:])
for pr in prs:
text_file.write("\n.. _PR" + pr + ": https://github.com/matrix-org/matrix-doc/pull/" + pr)
text_file.write("\n.. _PR" + pr + ": https://github.com/matrix-org/matrix-doc/pull/" + pr.replace('#', ''))
text_file.close()

Loading…
Cancel
Save