mirror of
https://github.com/alexgo-io/stacks.js.git
synced 2026-01-12 17:52:41 +08:00
docs: add redirects for all docs types (#1390)
Co-authored-by: janniks <janniks@users.noreply.github.com>
This commit is contained in:
35
vercel.json
35
vercel.json
@@ -1,10 +1,45 @@
|
||||
{
|
||||
"cleanUrls": true,
|
||||
"redirects": [
|
||||
{
|
||||
"source": "/modules/_stacks_cli",
|
||||
"destination": "https://docs.hiro.so/references/stacks-cli",
|
||||
"permanent": false
|
||||
},
|
||||
{
|
||||
"source": "/modules/:path((?!_stacks_).*)",
|
||||
"destination": "/modules/_stacks_:path*",
|
||||
"permanent": false
|
||||
},
|
||||
{
|
||||
"source": "/enums/:path((?!_stacks_).*)",
|
||||
"destination": "/enums/_stacks_:path*",
|
||||
"permanent": false
|
||||
},
|
||||
{
|
||||
"source": "/variables/:path((?!_stacks_).*)",
|
||||
"destination": "/variables/_stacks_:path*",
|
||||
"permanent": false
|
||||
},
|
||||
{
|
||||
"source": "/functions/:path((?!_stacks_).*)",
|
||||
"destination": "/functions/_stacks_:path*",
|
||||
"permanent": false
|
||||
},
|
||||
{
|
||||
"source": "/types/:path((?!_stacks_).*)",
|
||||
"destination": "/types/_stacks_:path*",
|
||||
"permanent": false
|
||||
},
|
||||
{
|
||||
"source": "/interfaces/:path((?!_stacks_).*)",
|
||||
"destination": "/interfaces/_stacks_:path*",
|
||||
"permanent": false
|
||||
},
|
||||
{
|
||||
"source": "/classes/:path((?!_stacks_).*)",
|
||||
"destination": "/classes/_stacks_:path*",
|
||||
"permanent": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user