Skip to content

Commit 9d7977d

Browse files
Merge pull request #7452 from nmelehan-akamai/hotfix-v1.401.3
Hotfix v1.401.3
2 parents aa85340 + 8120add commit 9d7977d

7 files changed

Lines changed: 18 additions & 4 deletions

File tree

.github/workflows/build-production-site.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ jobs:
218218
cd public
219219
cp sitemap.xml ${{ vars.DUPE_SITEMAP_NAME }}
220220
221+
SED_ESCAPED_URL=$(echo ${{ secrets.DOCS_WEBSITE_URL }} | sed 's|\.|\\\.|g')
222+
sed -i 's|<loc>$SED_ESCAPED_URL\([a-z0-9\/-]*\)/</loc>|<loc>https://akamai.com/cloud/\1</loc>|g' ${{ vars.DUPE_SITEMAP_NAME }}
223+
sed -i 's|<loc>$SED_ESCAPED_URL</loc>|<loc>https://akamai.com/cloud</loc>|' ${{ vars.DUPE_SITEMAP_NAME }}
224+
221225
# Make a tarball of the site, because it will upload much, much quicker
222226
# than the uncompressed rendered site. The commit for this workflow run
223227
# is encoded in the name of the tarball.

.github/workflows/build-staging-site.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ jobs:
225225
cd public
226226
cp sitemap.xml ${{ vars.DUPE_SITEMAP_NAME }}
227227
228+
SED_ESCAPED_URL=$(echo ${{ secrets.DOCS_WEBSITE_URL }} | sed 's|\.|\\\.|g')
229+
sed -i 's|<loc>$SED_ESCAPED_URL\([a-z0-9\/-]*\)/</loc>|<loc>https://akamai.com/cloud/\1</loc>|g' ${{ vars.DUPE_SITEMAP_NAME }}
230+
sed -i 's|<loc>$SED_ESCAPED_URL</loc>|<loc>https://akamai.com/cloud</loc>|' ${{ vars.DUPE_SITEMAP_NAME }}
231+
228232
# Make a tarball of the site, because it will upload much, much quicker
229233
# than the uncompressed rendered site. The commit for this workflow run
230234
# is encoded in the name of the tarball.

.github/workflows/build-testing-site.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ jobs:
226226
cd public
227227
cp sitemap.xml ${{ vars.DUPE_SITEMAP_NAME }}
228228
229+
SED_ESCAPED_URL=$(echo ${{ secrets.DOCS_WEBSITE_URL }} | sed 's|\.|\\\.|g')
230+
sed -i 's|<loc>$SED_ESCAPED_URL\([a-z0-9\/-]*\)/</loc>|<loc>https://akamai.com/cloud/\1</loc>|g' ${{ vars.DUPE_SITEMAP_NAME }}
231+
sed -i 's|<loc>$SED_ESCAPED_URL</loc>|<loc>https://akamai.com/cloud</loc>|' ${{ vars.DUPE_SITEMAP_NAME }}
232+
229233
# Make a tarball of the site, because it will upload much, much quicker
230234
# than the uncompressed rendered site. The commit for this workflow run
231235
# is encoded in the name of the tarball.

_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/head-src.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# github.com/linode/linode-docs-theme v0.0.0-20260421192844-79f2fb85e92a
1+
# github.com/linode/linode-docs-theme v0.0.0-20260504182517-80c1460990e2
22
# github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21300.20800
33
# github.com/gohugoio/hugo-mod-jslibs/turbo/v8 v8.20000.20400
44
# github.com/hotwired/turbo v8.0.4+incompatible

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ require (
77
github.com/gohugoio/hugo-mod-jslibs/turbo/v7 v7.20300.20000 // indirect
88
github.com/instantpage/instant.page v5.1.1+incompatible // indirect
99
github.com/linode/linode-api-docs/v4 v4.176.0 // indirect
10-
github.com/linode/linode-docs-theme v0.0.0-20260421192844-79f2fb85e92a // indirect
10+
github.com/linode/linode-docs-theme v0.0.0-20260504182517-80c1460990e2 // indirect
1111
github.com/linode/linode-website-partials v0.0.0-20250814204525-0d7fe4159951 // indirect
1212
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ github.com/linode/linode-docs-theme v0.0.0-20260409012914-41c7441e26c5 h1:CNScAH
348348
github.com/linode/linode-docs-theme v0.0.0-20260409012914-41c7441e26c5/go.mod h1:+c1nDe/v3R4DH8WCf4SwzCdjG629tRasJwLNADWM7MA=
349349
github.com/linode/linode-docs-theme v0.0.0-20260421192844-79f2fb85e92a h1:goyRcfHYBTvAeiMbP94IKd/P6AjkMvf4whpufavNdiY=
350350
github.com/linode/linode-docs-theme v0.0.0-20260421192844-79f2fb85e92a/go.mod h1:+c1nDe/v3R4DH8WCf4SwzCdjG629tRasJwLNADWM7MA=
351+
github.com/linode/linode-docs-theme v0.0.0-20260504182517-80c1460990e2 h1:zClC3bRbamUbo42Q+lt7VpdXZpi0vPM43bwxft9MVRs=
352+
github.com/linode/linode-docs-theme v0.0.0-20260504182517-80c1460990e2/go.mod h1:+c1nDe/v3R4DH8WCf4SwzCdjG629tRasJwLNADWM7MA=
351353
github.com/linode/linode-website-partials v0.0.0-20221205205120-b6ea1aaa59fb/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao=
352354
github.com/linode/linode-website-partials v0.0.0-20221222200538-99862e429110/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao=
353355
github.com/linode/linode-website-partials v0.0.0-20230201145731-a8703d0a954a/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao=

0 commit comments

Comments
 (0)