diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2020-06-03 11:46:48 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2020-06-03 11:46:48 +0300 |
commit | ac93fd8eddfc9ee5d4288c9ad609c80106e19b28 (patch) | |
tree | 76fbc2ef245f58671824c4284bf87ea192f51ac7 /scripts | |
parent | 116aa0c581238c20cba9ba6ba948ec935ace1807 (diff) | |
parent | 89aac6aa544429a798855ba609e36bf7a89c0cfc (diff) |
Merge branch 'fix-typos-normalize-script' into 'master'
Fix typos in normalize-links script
See merge request gitlab-org/gitlab-docs!931
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/normalize-links.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/normalize-links.sh b/scripts/normalize-links.sh index 518f4abc..c94c5ffe 100755 --- a/scripts/normalize-links.sh +++ b/scripts/normalize-links.sh @@ -61,16 +61,16 @@ find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="/opensearch echo "Replace full URLs in $TARGET/$VER for /ce/" find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="https://docs.gitlab.com/ce/#="/'"$VER"'/ce/#g' -echo "Replace full URLs in $TARGET/$VER for /ce/" +echo "Replace full URLs in $TARGET/$VER for /ee/" find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="https://docs.gitlab.com/ee/#="/'"$VER"'/ee/#g' -echo "Replace full URLs in $TARGET/$VER for /ce/" +echo "Replace full URLs in $TARGET/$VER for /runner/" find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="https://docs.gitlab.com/runner/#="/'"$VER"'/runner/#g' -echo "Replace full URLs in $TARGET/$VER for /ce/" +echo "Replace full URLs in $TARGET/$VER for /omnibus/" find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="https://docs.gitlab.com/omnibus/#="/'"$VER"'/omnibus/#g' -echo "Replace full URLs in $TARGET/$VER for /ce/" +echo "Replace full URLs in $TARGET/$VER for /charts/" find ${TARGET} -type f -name '*.html' -print0 | xargs -0 sed -i 's#="https://docs.gitlab.com/charts/#="/'"$VER"'/charts/#g' echo "Fix URLs inside the sitemap" |