Skip to content

Commit 886bf43

Browse files
authored
Release hab docs (#4502)
Signed-off-by: Ian Maddaus <[email protected]>
1 parent b08d83e commit 886bf43

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

config/_default/params.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ sitemaps = [
3333
"https://docs.chef.io/360/1.3/sitemap.xml",
3434
"https://docs.chef.io/360/1.4/sitemap.xml",
3535
"https://docs.chef.io/360/1.5/sitemap.xml",
36+
"https://docs.chef.io/habitat/1.6/sitemap.xml",
37+
"https://docs.chef.io/habitat/2.0/sitemap.xml",
3638
"https://docs.chef.io/inspec/6.8/sitemap.xml",
3739
"https://docs.chef.io/inspec/7.0/sitemap.xml",
3840
"https://docs.chef.io/inspec/resource_packs/sitemap.xml"

netlify.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,13 @@
9393
####
9494

9595
[[redirects]]
96-
from = "/habitat/2.0-rc1/*"
97-
to = "https://release-2-0-rc1--chef-habitat-docs.netlify.app/habitat/2.0-rc1/:splat"
96+
from = "/habitat/2.0/*"
97+
to = "https://release-2-0--chef-habitat-docs.netlify.app/habitat/2.0/:splat"
98+
status = 200
99+
100+
[[redirects]]
101+
from = "/habitat/1.6/*"
102+
to = "https://release-1-6--chef-habitat-docs.netlify.app/habitat/1.6/:splat"
98103
status = 200
99104

100105
####

0 commit comments

Comments
 (0)