docs: make 2.x the default version (#3369)

This commit is contained in:
Marvin Hagemeister
2025-09-09 14:36:51 +02:00
committed by GitHub
parent 2c315a9972
commit 79d8cfc3ed
109 changed files with 1589 additions and 1502 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ import type { Context } from "fresh";
const REDIRECTS: Record<string, string> = {
"/docs/getting-started/fetching-data":
"/docs/getting-started/custom-handlers",
"/docs/canary/examples/modifying-the-head": "/docs/canary/advanced/head",
"/docs/canary/concepts/builder": "/docs/canary/advanced/builder",
"/docs/canary/examples/modifying-the-head": "/docs/advanced/head",
"/docs/canary/concepts/builder": "/docs/advanced/builder",
};
export async function handler<T>(ctx: Context<T>) {