From fe2349568fa499a229a1a5e370929404d8e76287 Mon Sep 17 00:00:00 2001 From: nmelehan-akamai Date: Thu, 1 Oct 2026 12:59:02 -0400 Subject: [PATCH] Remove marketplace docs from search and home page (#7512) --- .../github.com/linode/linode-docs-theme/config.toml | 9 --------- .../content/headless/home/data_v2.toml | 2 +- .../sections/search/get-search-data-sectionnames.html | 2 +- _vendor/modules.txt | 2 +- config.toml | 11 ----------- go.mod | 2 +- go.sum | 2 ++ 7 files changed, 6 insertions(+), 24 deletions(-) diff --git a/_vendor/github.com/linode/linode-docs-theme/config.toml b/_vendor/github.com/linode/linode-docs-theme/config.toml index 96cff2f5531..4ab0d5fbe38 100644 --- a/_vendor/github.com/linode/linode-docs-theme/config.toml +++ b/_vendor/github.com/linode/linode-docs-theme/config.toml @@ -117,15 +117,6 @@ noun = "Reference" explorer_icon = "#icon-explorer--reference-architecture" - [params.search_config2.sections.marketplace-docs] - name = "marketplace-docs" - hugo_section = "marketplace-docs" - weight = 25 - title = "Quick Deploy Apps" - noun = "Marketplace" - filters = "section.lvl0:marketplace-docs" - explorer_icon = "#icon-explorer--marketplace" - [params.search_config2.sections.blog] name = "blog" weight = 50 diff --git a/_vendor/github.com/linode/linode-docs-theme/content/headless/home/data_v2.toml b/_vendor/github.com/linode/linode-docs-theme/content/headless/home/data_v2.toml index d1cc6aa21f3..42c6664c00b 100644 --- a/_vendor/github.com/linode/linode-docs-theme/content/headless/home/data_v2.toml +++ b/_vendor/github.com/linode/linode-docs-theme/content/headless/home/data_v2.toml @@ -1,7 +1,7 @@ hero_text = "Developer resources for building on Akamai Connected Cloud" # Ordered list of section to display cards with the last 3 articles. -cards_sections = ["guides", "reference-architecture", "marketplace-docs"] +cards_sections = ["guides", "reference-architecture"] [cards_now_on_tech_docs] title = "Now on Akamai TechDocs" diff --git a/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/search/get-search-data-sectionnames.html b/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/search/get-search-data-sectionnames.html index 93b1007efc9..ba2aeb95b0f 100644 --- a/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/search/get-search-data-sectionnames.html +++ b/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/search/get-search-data-sectionnames.html @@ -1,2 +1,2 @@ -{{ $sectionNames := (slice "guides" "marketplace-docs" "reference-architecture" "bundles" ) }} +{{ $sectionNames := (slice "guides" "reference-architecture" "bundles" ) }} {{ return $sectionNames }} diff --git a/_vendor/modules.txt b/_vendor/modules.txt index 9737c447b54..ad5d63bdd36 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1,4 +1,4 @@ -# github.com/linode/linode-docs-theme v0.0.0-20260825162528-5a6e64e7ede8 +# github.com/linode/linode-docs-theme v0.0.0-20260928193034-f1563c6ae63b # github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21300.20800 # github.com/gohugoio/hugo-mod-jslibs/turbo/v8 v8.20000.20400 # github.com/hotwired/turbo v8.0.4+incompatible diff --git a/config.toml b/config.toml index c4bbf9dbfe9..e040e455a76 100644 --- a/config.toml +++ b/config.toml @@ -106,17 +106,6 @@ hits_per_page = 4 # filtering_facets = [{ name = "category", title = "Doc Category" }] download_settings = true -[[params.search_config.sections]] -name = "marketplace" -index = "linode-wp" -index_by_pubdate = "linode-wp-sorted" -title = "Marketplace" -filters = "section.lvl0:Marketplace" -explorer_icon = "#icon-explorer--marketplace" -explorer_regular_pages_start_level = 2 -hits_per_page = 4 -# filtering_facets = [{ name = "category", title = "Doc Category" }] - [[params.search_config.sections]] name = "blog" index = "linode-wp" diff --git a/go.mod b/go.mod index e7f88e7f6f6..ce0aebd3299 100644 --- a/go.mod +++ b/go.mod @@ -7,6 +7,6 @@ require ( github.com/gohugoio/hugo-mod-jslibs/turbo/v7 v7.20300.20000 // indirect github.com/instantpage/instant.page v5.1.1+incompatible // indirect github.com/linode/linode-api-docs/v4 v4.176.0 // indirect - github.com/linode/linode-docs-theme v0.0.0-20260825162528-5a6e64e7ede8 // indirect + github.com/linode/linode-docs-theme v0.0.0-20260928193034-f1563c6ae63b // indirect github.com/linode/linode-website-partials v0.0.0-20250814204525-0d7fe4159951 // indirect ) diff --git a/go.sum b/go.sum index e62ccfebdd8..ef58de36dfe 100644 --- a/go.sum +++ b/go.sum @@ -364,6 +364,8 @@ github.com/linode/linode-docs-theme v0.0.0-20260804204406-67facb6d50eb h1:d4O8IY github.com/linode/linode-docs-theme v0.0.0-20260804204406-67facb6d50eb/go.mod h1:+c1nDe/v3R4DH8WCf4SwzCdjG629tRasJwLNADWM7MA= github.com/linode/linode-docs-theme v0.0.0-20260825162528-5a6e64e7ede8 h1:Bume9PPJfWsRmKUoHi88OJHKOzyxuIZwdvwwM6BVT4w= github.com/linode/linode-docs-theme v0.0.0-20260825162528-5a6e64e7ede8/go.mod h1:+c1nDe/v3R4DH8WCf4SwzCdjG629tRasJwLNADWM7MA= +github.com/linode/linode-docs-theme v0.0.0-20260928193034-f1563c6ae63b h1:RD6NseaAmIK8h0F/XtBRrhwXRzzc75MwR7uZfkiupXo= +github.com/linode/linode-docs-theme v0.0.0-20260928193034-f1563c6ae63b/go.mod h1:+c1nDe/v3R4DH8WCf4SwzCdjG629tRasJwLNADWM7MA= github.com/linode/linode-website-partials v0.0.0-20221205205120-b6ea1aaa59fb/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= github.com/linode/linode-website-partials v0.0.0-20221222200538-99862e429110/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= github.com/linode/linode-website-partials v0.0.0-20230201145731-a8703d0a954a/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao=