Skip to content

fix: resolve docs tree from content root - #384

Merged
longsizhuo merged 1 commit into
InvolutionHell:mainfrom
richardkkk:fix/docs-tree-content-root
Jul 24, 2026
Merged

fix: resolve docs tree from content root#384
longsizhuo merged 1 commit into
InvolutionHell:mainfrom
richardkkk:fix/docs-tree-content-root

Conversation

@richardkkk

Copy link
Copy Markdown
Contributor

Summary

Fix the knowledge-base destination picker returning no directories in production.

The docs tree API still searched the pre-i18n paths (app/docs and src/app/docs), while the current documentation content lives in content/docs.

Validation

  • pnpm typecheck
  • pnpm lint (existing warnings only)
  • pnpm test — 67 tests passed
  • Verified GET /api/docs-tree locally returns ok: true with content/docs as docsRoot

@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

@richardkkk is attempting to deploy a commit to the longsizhuo's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website-preview Ready Ready Preview, Comment Jul 24, 2026 12:25pm

@longsizhuo
longsizhuo merged commit e837f6c into InvolutionHell:main Jul 24, 2026
3 of 4 checks passed
@longsizhuo

Copy link
Copy Markdown
Member

Thanks for you PR!

@richardkkk
richardkkk deleted the fix/docs-tree-content-root branch July 24, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants