diff --git a/.github/workflows/build-production-site.yaml b/.github/workflows/build-production-site.yaml index 1dc4defb6ea..ad10f589691 100644 --- a/.github/workflows/build-production-site.yaml +++ b/.github/workflows/build-production-site.yaml @@ -211,6 +211,13 @@ jobs: run: | echo $GITHUB_SHA > public/gitcommithash.txt + # Temporarily need this for akamai.com/cloud renaming + - name: 14. Make duplicate sitemap file under different name + working-directory: ./docs-repo + run: | + cd public + cp sitemap.xml ${{ vars.DUPE_SITEMAP_NAME }} + # Make a tarball of the site, because it will upload much, much quicker # than the uncompressed rendered site. The commit for this workflow run # is encoded in the name of the tarball. diff --git a/.github/workflows/build-staging-site.yaml b/.github/workflows/build-staging-site.yaml index 976b1f9ddef..bcc6dccc2d8 100644 --- a/.github/workflows/build-staging-site.yaml +++ b/.github/workflows/build-staging-site.yaml @@ -218,6 +218,13 @@ jobs: run: | echo $GITHUB_SHA > public/gitcommithash.txt + # Temporarily need this for akamai.com/cloud renaming + - name: 14. Make duplicate sitemap file under different name + working-directory: ./docs-repo + run: | + cd public + cp sitemap.xml ${{ vars.DUPE_SITEMAP_NAME }} + # Make a tarball of the site, because it will upload much, much quicker # than the uncompressed rendered site. The commit for this workflow run # is encoded in the name of the tarball. diff --git a/.github/workflows/build-testing-site.yaml b/.github/workflows/build-testing-site.yaml index 999265ea644..10928e871d2 100644 --- a/.github/workflows/build-testing-site.yaml +++ b/.github/workflows/build-testing-site.yaml @@ -219,6 +219,13 @@ jobs: run: | echo $GITHUB_SHA > public/gitcommithash.txt + # Temporarily need this for akamai.com/cloud renaming + - name: 14. Make duplicate sitemap file under different name + working-directory: ./docs-repo + run: | + cd public + cp sitemap.xml ${{ vars.DUPE_SITEMAP_NAME }} + # Make a tarball of the site, because it will upload much, much quicker # than the uncompressed rendered site. The commit for this workflow run # is encoded in the name of the tarball. diff --git a/_vendor/github.com/linode/linode-website-partials/dist/css/footer.css b/_vendor/github.com/linode/linode-docs-theme/common-partials/dist/css/footer.css similarity index 100% rename from _vendor/github.com/linode/linode-website-partials/dist/css/footer.css rename to _vendor/github.com/linode/linode-docs-theme/common-partials/dist/css/footer.css diff --git a/_vendor/github.com/linode/linode-website-partials/dist/css/header.css b/_vendor/github.com/linode/linode-docs-theme/common-partials/dist/css/header.css similarity index 100% rename from _vendor/github.com/linode/linode-website-partials/dist/css/header.css rename to _vendor/github.com/linode/linode-docs-theme/common-partials/dist/css/header.css diff --git a/_vendor/github.com/linode/linode-website-partials/dist/js/attribution-inline.js b/_vendor/github.com/linode/linode-docs-theme/common-partials/dist/js/attribution-inline.js similarity index 100% rename from _vendor/github.com/linode/linode-website-partials/dist/js/attribution-inline.js rename to _vendor/github.com/linode/linode-docs-theme/common-partials/dist/js/attribution-inline.js diff --git a/_vendor/github.com/linode/linode-website-partials/dist/js/footer-inline.js b/_vendor/github.com/linode/linode-docs-theme/common-partials/dist/js/footer-inline.js similarity index 100% rename from _vendor/github.com/linode/linode-website-partials/dist/js/footer-inline.js rename to _vendor/github.com/linode/linode-docs-theme/common-partials/dist/js/footer-inline.js diff --git a/_vendor/github.com/linode/linode-website-partials/dist/js/header.js b/_vendor/github.com/linode/linode-docs-theme/common-partials/dist/js/header.js similarity index 100% rename from _vendor/github.com/linode/linode-website-partials/dist/js/header.js rename to _vendor/github.com/linode/linode-docs-theme/common-partials/dist/js/header.js diff --git a/_vendor/github.com/linode/linode-website-partials/dist/wordpress/footer.html b/_vendor/github.com/linode/linode-docs-theme/common-partials/dist/wordpress/footer.html similarity index 100% rename from _vendor/github.com/linode/linode-website-partials/dist/wordpress/footer.html rename to _vendor/github.com/linode/linode-docs-theme/common-partials/dist/wordpress/footer.html diff --git a/_vendor/github.com/linode/linode-website-partials/dist/wordpress/header.html b/_vendor/github.com/linode/linode-docs-theme/common-partials/dist/wordpress/header.html similarity index 100% rename from _vendor/github.com/linode/linode-website-partials/dist/wordpress/header.html rename to _vendor/github.com/linode/linode-docs-theme/common-partials/dist/wordpress/header.html diff --git a/_vendor/github.com/linode/linode-docs-theme/config.toml b/_vendor/github.com/linode/linode-docs-theme/config.toml index b65089d7452..b60f3ddca92 100644 --- a/_vendor/github.com/linode/linode-docs-theme/config.toml +++ b/_vendor/github.com/linode/linode-docs-theme/config.toml @@ -170,36 +170,33 @@ target = "static" # The common static footer and header. - [[module.imports]] - path = "github.com/linode/linode-website-partials" - - [[module.imports.mounts]] - source = "dist/wordpress/header.html" - target = "layouts/partials/linode-header.html" + [[module.mounts]] + source = "common-partials/dist/wordpress/header.html" + target = "layouts/partials/linode-header.html" - [[module.imports.mounts]] - source = "dist/wordpress/footer.html" - target = "layouts/partials/linode-footer.html" + [[module.mounts]] + source = "common-partials/dist/wordpress/footer.html" + target = "layouts/partials/linode-footer.html" - [[module.imports.mounts]] - source = "dist/css/header.css" - target = "assets/linode/header.css" + [[module.mounts]] + source = "common-partials/dist/css/header.css" + target = "assets/linode/header.css" - [[module.imports.mounts]] - source = "dist/css/footer.css" - target = "assets/linode/footer.css" + [[module.mounts]] + source = "common-partials/dist/css/footer.css" + target = "assets/linode/footer.css" - [[module.imports.mounts]] - source = "dist/js/header.js" - target = "assets/linode/header.js" + [[module.mounts]] + source = "common-partials/dist/js/header.js" + target = "assets/linode/header.js" - [[module.imports.mounts]] - source = "dist/js/footer-inline.js" - target = "assets/linode/footer-inline.js" + [[module.mounts]] + source = "common-partials/dist/js/footer-inline.js" + target = "assets/linode/footer-inline.js" - [[module.imports.mounts]] - source = "dist/js/attribution-inline.js" - target = "assets/linode/attribution-inline.js" + [[module.mounts]] + source = "common-partials/dist/js/attribution-inline.js" + target = "assets/linode/attribution-inline.js" # JS components packaged as Hugo Modules. [[module.imports]] diff --git a/_vendor/github.com/linode/linode-docs-theme/layouts/_default/list.html b/_vendor/github.com/linode/linode-docs-theme/layouts/_default/list.html index 744e44627ef..8bd2b816e9f 100644 --- a/_vendor/github.com/linode/linode-docs-theme/layouts/_default/list.html +++ b/_vendor/github.com/linode/linode-docs-theme/layouts/_default/list.html @@ -4,9 +4,6 @@ {{ end }} {{ define "main" }} - {{ template "list-js" . }} {{ end }} @@ -240,87 +237,6 @@