diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2023-03-23 23:13:02 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2023-03-23 23:17:13 +0300 |
commit | 8276bf015ed664f68abd73cf9b82140623937a64 (patch) | |
tree | e0dc5a50df23638f1e5ba60a45ad9a6f8423e4c5 /scripts/normalize-links.sh | |
parent | 2fa5ef2b4c5a02cb3677502ccca9af7749a7d96c (diff) |
Remove old "symlink to CE" code from normalize-links.sh
Diffstat (limited to 'scripts/normalize-links.sh')
-rwxr-xr-x | scripts/normalize-links.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/normalize-links.sh b/scripts/normalize-links.sh index e67e3167..d239e095 100755 --- a/scripts/normalize-links.sh +++ b/scripts/normalize-links.sh @@ -85,10 +85,3 @@ find "${TARGET}/$VER" -type f -name '*.html' -print0 | xargs -0 sed -i 's#="http echo "Fix URLs inside the sitemap" find "${TARGET}/$VER" -type f -name 'sitemap.xml' -print0 | xargs -0 sed -i 's#docs.gitlab.com/#docs.gitlab.com/'"$VER"'/#g' - -## -## Don't deploy the CE docs since they are identical to the EE ones. -## https://gitlab.com/gitlab-org/gitlab-docs/issues/418 -## -echo "Remove CE dir and symlink EE to CE" -if [ -d "${TARGET}/${VER}/ce/" ]; then cd "${TARGET}/${VER}" && rm -r ce && ln -s ee ce; fi |