diff --git a/.gitignore b/.gitignore index 5ebb78fb39..6169749e73 100644 --- a/.gitignore +++ b/.gitignore @@ -66,4 +66,6 @@ migrations/cockroach/migrate_cloud.go /zitadel go.work -go.work.sum \ No newline at end of file +go.work.sum +# Local Netlify folder +.netlify diff --git a/docs/netlify.toml b/docs/netlify.toml index fdb0a16c83..c19c5d980b 100644 --- a/docs/netlify.toml +++ b/docs/netlify.toml @@ -1,15 +1,3 @@ -[[redirects]] - from = "/docs/guides/deploy/*" - to = "/docs/self-hosting/deploy/:splat" - status = 301 - force = true - -[[redirects]] - from = "/docs/guides/manage/self-hosted/*" - to = "/docs/self-hosting/manage/:splat" - status = 301 - force = true - # This is a workaround to address the problem around the baseUrl from docusaurus # Be aware that this prevents the usage of the path /docs/docs [[redirects]] @@ -17,6 +5,12 @@ to = "/:splat" status = 200 force = true + +[[redirects]] + from = "/" + to = "/docs" + status = 302 + force = true [[headers]] for = "/*" diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000000..fb57ccd13a --- /dev/null +++ b/yarn.lock @@ -0,0 +1,4 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + +