Skip to content

Commit c6ae93a

Browse files
committedFeb 10, 2024
Update config for v5
1 parent 9649c93 commit c6ae93a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
 

‎packages/docs/config.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
export const base = '/';
22

33
export const versions = [
4-
['v4', 'v4 (latest)'],
4+
['v5', 'v5 (latest)'],
5+
['v4', 'v4'],
56
['v3', 'v3'],
67
];
78

8-
export const defaultVersion = 'v4';
9+
export const defaultVersion = 'v5';

‎packages/docs/vercel.json

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
},
88
{
99
"source": "/v4/:path*",
10+
"destination": "https://knip-dev-v4.vercel.app/v4/:path*"
11+
},
12+
{
13+
"source": "/v5/:path*",
1014
"destination": "/:path*"
1115
}
1216
]

0 commit comments

Comments
 (0)
Please sign in to comment.