Skip to content

Commit de486b4

Browse files
committed
propreer links in release file in documentation
1 parent 3302cd4 commit de486b4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ jobs:
5757
which python
5858
python -c "import ot"
5959
60+
- run:
61+
name: Correct link in release file
62+
command: |
63+
sed -i -r 's/PR #([[:digit:]]*)/\[PR #\1\]\(https:\/\/github.com\/PythonOT\/POT\/pull\/\1\)/' RELEASES.md
64+
sed -i -r 's/Issue #([[:digit:]]*)/\[Issue #\1\]\(https:\/\/github.com\/PythonOT\/POT\/issues\/\1\)/' RELEASES.md
6065
# Build docs
6166
- run:
6267
name: make html

0 commit comments

Comments
 (0)