From c99a212f961a5e21856f2e5911ee6af7366142c2 Mon Sep 17 00:00:00 2001 From: Ian Maddaus Date: Wed, 12 Nov 2025 14:06:04 -0500 Subject: [PATCH] Update Hab redirects Signed-off-by: Ian Maddaus --- config/_default/params.toml | 2 -- netlify.toml | 17 +++++++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 95b267b0b..aeb8c466b 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -33,8 +33,6 @@ sitemaps = [ "https://docs.chef.io/360/1.3/sitemap.xml", "https://docs.chef.io/360/1.4/sitemap.xml", "https://docs.chef.io/360/1.5/sitemap.xml", - "https://docs.chef.io/habitat/1.6/sitemap.xml", - "https://docs.chef.io/habitat/2.0/sitemap.xml", "https://docs.chef.io/inspec/6.8/sitemap.xml", "https://docs.chef.io/inspec/7.0/sitemap.xml", "https://docs.chef.io/inspec/resource_packs/sitemap.xml" diff --git a/netlify.toml b/netlify.toml index fa12591f7..24879277e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -93,14 +93,19 @@ #### [[redirects]] - from = "/habitat/2.0/*" - to = "https://release-2-0--chef-habitat-docs.netlify.app/habitat/2.0/:splat" + from = "/habitat/2.0-rc1/*" + to = "https://release-2-0-rc1--chef-habitat-docs.netlify.app/habitat/2.0-rc1/:splat" status = 200 -[[redirects]] - from = "/habitat/1.6/*" - to = "https://release-1-6--chef-habitat-docs.netlify.app/habitat/1.6/:splat" - status = 200 +# [[redirects]] +# from = "/habitat/2.0/*" +# to = "https://release-2-0--chef-habitat-docs.netlify.app/habitat/2.0/:splat" +# status = 200 + +# [[redirects]] +# from = "/habitat/1.6/*" +# to = "https://release-1-6--chef-habitat-docs.netlify.app/habitat/1.6/:splat" +# status = 200 #### # Chef Infra Client redirects