Skip to content

Commit

Permalink
docs: add redirects for all docs types (#1390)
Browse files Browse the repository at this point in the history
Co-authored-by: janniks <[email protected]>
  • Loading branch information
janniks and janniks authored Nov 29, 2022
1 parent d21a479 commit ee52662
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}

1 comment on commit ee52662

@vercel
Copy link

@vercel vercel bot commented on ee52662 Nov 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.