handle PR links from GitHub

This commit is contained in:
Ben Parsons 2018-05-15 15:33:39 +01:00
parent d338f18927
commit 4d59abebf0

View file

@ -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()