docs: fix preview link (#4965)

test netlify

Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Florian Forster
2023-01-03 10:14:13 +00:00
committed by GitHub
co-authored by Livio Spring
parent b1d7433eba
commit 83f96b49aa
3 changed files with 13 additions and 13 deletions
+2
View File
@@ -67,3 +67,5 @@ migrations/cockroach/migrate_cloud.go
go.work
go.work.sum
# Local Netlify folder
.netlify
+6 -12
View File
@@ -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]]
@@ -18,6 +6,12 @@
status = 200
force = true
[[redirects]]
from = "/"
to = "/docs"
status = 302
force = true
[[headers]]
for = "/*"
[headers.values]
+4
View File
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1