From f129809015b1ba4eec2166ab4f14816eaf989fb8 Mon Sep 17 00:00:00 2001 From: Richard <1464315342s@gmail.com> Date: Fri, 24 Jul 2026 22:16:46 +1000 Subject: [PATCH] fix: resolve docs tree from content root --- app/api/docs-tree/route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/docs-tree/route.ts b/app/api/docs-tree/route.ts index d4f15777..b5116868 100644 --- a/app/api/docs-tree/route.ts +++ b/app/api/docs-tree/route.ts @@ -89,6 +89,7 @@ async function buildTree( export async function GET() { const cwd = process.cwd(); const candidates = [ + path.join(cwd, "content", "docs"), path.join(cwd, "app", "docs"), path.join(cwd, "src", "app", "docs"), ];