Skip to content

Commit 8cd8e66

Browse files
Akamai domain change (#7484)
* Remove products dir * Add script that updates relative product page links to techdocs * Rewrite relative products URLs to corresponding absolute techdocs URLs * Rewrite absolute products URLs to corresponding absolute techdocs URLs * Rewrite /docs/ URLs to /cloud/ * Fix edge case * Theme updates Bug fixes for search and navigation under akamai.com/cloud base URL * Update base URL in site config * Remove duplicate sitemap sed domain search/replace logic * Remove product docs from link checker * Fix incorrect root directory case for link checker * Bug fix for link checker * Bug fix for link checker,2 * Bug fix for link checker,3 * Use cloud prefix for Netlify * Bug fix for link checker,4 * Bug fix for link checker,5 * Move files under docs/assets/ to guide directories - New scripts/move_assets_to_guides.sh script which: - Moves files under docs/assets/ to the directories of the guides thank link to them - For any docs/assets/ files that are linked to by multiple guides, the script creates a copy in each guide's directory - Moves any files in docs/assets/ that aren't referenced by any guide to the docs/assets/_unreferenced/ folder * Remove unreferenced files left in docs/assets/ * Fix links that redirect to techdocs * Fix remaining link errors * Link checker test: try to print all failures and warnings regardless of test success * Fix some alias links to point to final location * Fix some alias links to point to final location,2 * Fix some alias links to point to final location,3 * Theme updates - Rename Docs Home breadcrumb link to Akamai Cloud * Remove API checks from link check test
1 parent 11f402d commit 8cd8e66

2,976 files changed

Lines changed: 8843 additions & 46918 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,6 @@ 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-
225221
# Make a tarball of the site, because it will upload much, much quicker
226222
# than the uncompressed rendered site. The commit for this workflow run
227223
# is encoded in the name of the tarball.

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,6 @@ 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-
232228
# Make a tarball of the site, because it will upload much, much quicker
233229
# than the uncompressed rendered site. The commit for this workflow run
234230
# is encoded in the name of the tarball.

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,6 @@ 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-
233229
# Make a tarball of the site, because it will upload much, much quicker
234230
# than the uncompressed rendered site. The commit for this workflow run
235231
# is encoded in the name of the tarball.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,5 @@ hugo_stats.json
4545
.hugo_build.lock
4646
redirects.conf
4747
scripts/duplicates.csv
48+
scripts/.product_link_cache.json
4849
algolia_out/

_vendor/github.com/linode/linode-docs-theme/assets/js/main/index.js

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

_vendor/github.com/linode/linode-docs-theme/assets/js/main/navigation/create-href.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/linode/linode-docs-theme/assets/js/main/navigation/explorer.js

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

_vendor/github.com/linode/linode-docs-theme/assets/js/main/navigation/nav-store.js

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/github.com/linode/linode-docs-theme/assets/js/main/navigation/promo-codes.js

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/github.com/linode/linode-docs-theme/assets/js/main/search/search-store.js

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

0 commit comments

Comments
 (0)