Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 2 additions & 20 deletions docs-v2/vercel.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"rewrites": [
Copy link
Contributor

Choose a reason for hiding this comment

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

You'll want to move these to the redirects section instead of removing them entirely, since we still have some /docs/v3 links out there, so we want to redirect /docs/v3 to /docs

"redirects": [
{
"source": "/docs/v3",
"destination": "/docs"
},
{
"source": "/docs/v3/(.*)",
"destination": "/docs/$1"
}
],
"redirects": [
},
{
"source": "/docs/notebook/actions/",
"destination": "/workflows/steps/actions/"
Expand Down Expand Up @@ -222,14 +220,6 @@
"source": "/docs/components/quickstart/nodejs/actions",
"destination": "/docs/components/actions-quickstart"
},
{
"source": "/docs/components/quickstart/nodejs/sources",
"destination": "/docs/components/sources-quickstart"
},
{
Copy link
Contributor

Choose a reason for hiding this comment

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

These are fine to remove once you have the redirect to handle the root /v3 path

"source": "/docs/v3/components/quickstart/nodejs/sources",
"destination": "/docs/components/sources-quickstart"
},
{
"source": "/docs/github-sync",
"destination": "/docs/quickstart/github-sync"
Expand Down Expand Up @@ -285,14 +275,6 @@
{
"source": "/docs/workflows/networking",
"destination": "/docs/databases#connecting-to-restricted-databases"
},
{
"source": "/docs/errors/",
"destination": "/docs/workflows/errors"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Also fine to remove

{
"source": "/docs/v3/api/sse",
"destination": "/docs/destinations/sse"
}
]
}
Loading