mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add automated script for link on readme
This commit is contained in:
parent
11e5f8653b
commit
c76a72ba93
1 changed files with 10 additions and 0 deletions
10
link_readme.py
Executable file
10
link_readme.py
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/python
|
||||
|
||||
import re
|
||||
f = open("README.md", "r+")
|
||||
cont = f.read()
|
||||
updated = re.sub(r"([^[])#(\d+)", r"\1[#\2](https://github.com/hrydgard/ppsspp/issues/\2)", cont)
|
||||
f.seek(0)
|
||||
f.write(updated)
|
||||
f.truncate()
|
||||
f.close()
|
Loading…
Add table
Reference in a new issue