Skip to content

Commit 6f8b9b4

Browse files
authored
Fix redirects (#2627)
1 parent 1e88f49 commit 6f8b9b4

File tree

2 files changed

+11
-51
lines changed

2 files changed

+11
-51
lines changed

redirects/dynamic/docs.jsonc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
"destination": "/docs/reference/hooks/:path*",
4545
"permanent": true,
4646
},
47+
{
48+
"source": "/docs/:sdk/hooks/:path*",
49+
"destination": "/docs/:sdk/reference/hooks/:path*",
50+
"permanent": true,
51+
},
4752
{
4853
"source": "/docs/authentication/:path*",
4954
"destination": "/docs/guides/configure/auth-strategies/:path*",

redirects/static/docs.json

Lines changed: 6 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,56 +2229,6 @@
22292229
"destination": "https://docs.redwoodjs.com/docs/auth/clerk/",
22302230
"permanent": true
22312231
},
2232-
{
2233-
"source": "/docs/reference/react/use-auth",
2234-
"destination": "/docs/reference/hooks/use-auth",
2235-
"permanent": true
2236-
},
2237-
{
2238-
"source": "/docs/reference/react/use-clerk",
2239-
"destination": "/docs/reference/hooks/use-clerk",
2240-
"permanent": true
2241-
},
2242-
{
2243-
"source": "/docs/reference/react/use-organization-list",
2244-
"destination": "/docs/reference/hooks/use-organization-list",
2245-
"permanent": true
2246-
},
2247-
{
2248-
"source": "/docs/reference/react/use-organization",
2249-
"destination": "/docs/reference/hooks/use-organization",
2250-
"permanent": true
2251-
},
2252-
{
2253-
"source": "/docs/reference/react/use-reverification",
2254-
"destination": "/docs/reference/hooks/use-reverification",
2255-
"permanent": true
2256-
},
2257-
{
2258-
"source": "/docs/reference/react/use-session-list",
2259-
"destination": "/docs/reference/hooks/use-session-list",
2260-
"permanent": true
2261-
},
2262-
{
2263-
"source": "/docs/reference/react/use-session",
2264-
"destination": "/docs/reference/hooks/use-session",
2265-
"permanent": true
2266-
},
2267-
{
2268-
"source": "/docs/reference/react/use-sign-in",
2269-
"destination": "/docs/reference/hooks/use-sign-in",
2270-
"permanent": true
2271-
},
2272-
{
2273-
"source": "/docs/reference/react/use-sign-up",
2274-
"destination": "/docs/reference/hooks/use-sign-up",
2275-
"permanent": true
2276-
},
2277-
{
2278-
"source": "/docs/reference/react/use-user",
2279-
"destination": "/docs/reference/hooks/use-user",
2280-
"permanent": true
2281-
},
22822232
{
22832233
"source": "/docs/quickstarts/tanstack-start",
22842234
"destination": "/docs/getting-started/quickstart",
@@ -2429,6 +2379,11 @@
24292379
"destination": "/docs/guides/configure/auth-strategies/oauth/verify-oauth-tokens",
24302380
"permanent": true
24312381
},
2382+
{
2383+
"source": "/docs/oauth/how-clerk-implements-oauth",
2384+
"destination": "/docs/guides/configure/auth-strategies/oauth/how-clerk-implements-oauth",
2385+
"permanent": true
2386+
},
24322387
{
24332388
"source": "/docs/security/customize-user-lockout",
24342389
"destination": "/docs/guides/secure/user-lockout#customize-max-sign-in-attempts-and-lockout-duration",
@@ -3505,7 +3460,7 @@
35053460
"permanent": true
35063461
},
35073462
{
3508-
"source": "/docs/guides/how-clerk-works/overview",
3463+
"source": "/docs/how-clerk-works/overview",
35093464
"destination": "/docs/guides/how-clerk-works/overview",
35103465
"permanent": true
35113466
},

0 commit comments

Comments
 (0)