-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa1e2a3
commit 50868d2
Showing
2 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,25 @@ | ||
#!/bin/sh | ||
# This file is executed by the `release` script from | ||
#!/bin/bash | ||
# This script is intended to be run by the release-gap-package script which is | ||
# part of the the ReleaseTools for GAP: | ||
# | ||
# https://github.com/gap-system/ReleaseTools | ||
rm -rf .codecov.yml | ||
|
||
set -e | ||
|
||
# ensure we are in the same directory as this script | ||
cd "$(dirname "${BASH_SOURCE[0]}")" | ||
|
||
notice_it() { | ||
printf '\033[93m%s\033[0m\n' "$*" | ||
} | ||
|
||
notice_it "Fixing the links in the documentation" | ||
for f in ./*/*.htm* ; do | ||
sed \ | ||
-e 's;href="../../../pkg/[dD]igraphs[^\/]*/doc/;href="https://digraphs.github.io/Digraphs/doc/;g' \ | ||
-e 's;href="../../../pkg/[iI]mages[^\/]*/doc/;href="https://gap-packages.github.io/images/doc/;g' \ | ||
-e 's;href="../../../pkg/[bB]acktrack[kK]it[^\/]*/doc/;href="https://peal.github.io/BacktrackKit/doc/;g' \ | ||
-e 's;href="../../../pkg/[vV]ole[^\/]*/doc/;href="https://peal.github.io/vole/doc/;g' \ | ||
"$f" > "$f.bak" | ||
mv "$f.bak" "$f" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters