Pair every guidance page with Markdown and enable shared document references
PROMPT Docker CI and deployment / verify-and-deploy (push) Successful in 16m58s

This commit is contained in:
2026-10-23 21:20:53 +08:00
parent 8c9fc31ee0
commit 46cd53a2a1
20 changed files with 229 additions and 64 deletions
+8 -1
View File
@@ -2,7 +2,14 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
serverExternalPackages: ["playwright-core"],
async rewrites(){return [{source:"/agent",destination:"/api/agent-index"},{source:"/agent/index.md",destination:"/api/agent-index"},{source:"/skills/:skill/:doc.md",destination:"/api/skill-docs/:skill/:doc"}]},
async rewrites(){return [
{source:"/index.md",destination:"/api/guidance"},
{source:"/skills/index.md",destination:"/api/guidance/skills"},
{source:"/skills/:path+/index.md",destination:"/api/guidance/skills/:path+"},
{source:"/agent",destination:"/api/agent-index"},
{source:"/agent/index.md",destination:"/api/agent-index"},
{source:"/skills/:skill/:doc.md",destination:"/api/skill-docs/:skill/:doc"},
]},
output: "standalone",
outputFileTracingIncludes: {"/*":["./node_modules/playwright-core/**/*"]},
poweredByHeader: false,