[PR #1753] [MERGED] fix: unhandled server error when accessing not found pages #1816

Closed
opened 2026-02-15 22:16:54 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/LlamaIndexTS/pull/1753
Author: @thucpn
Created: 3/13/2025
Status: Merged
Merged: 3/13/2025
Merged by: @marcusschiesser

Base: mainHead: tp/unhandled-server-error-with-not-found-dynamic-docs


📝 Commits (3)

  • 4b1f08c fix: unhandled server error when accessing not found pages
  • 02616e4 move createTypeTable to the seperate file
  • 22c2943 lazy create type table

📊 Changes

1 file changed (+1 additions, -2 deletions)

View changed files

📝 apps/next/src/app/docs/[[...slug]]/page.tsx (+1 -2)

📄 Description

Fix issue #1732

Root Cause:
AutoTypeTable cannot load tsconfig.json when the page is not found.
See: https://fumadocs.vercel.app/docs/ui/components/auto-type-table#deep-dive

Solution: use AutoTypeTable only when the page is found


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/LlamaIndexTS/pull/1753 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 3/13/2025 **Status:** ✅ Merged **Merged:** 3/13/2025 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `tp/unhandled-server-error-with-not-found-dynamic-docs` --- ### 📝 Commits (3) - [`4b1f08c`](https://github.com/run-llama/LlamaIndexTS/commit/4b1f08cb790181681f4c60341f926d627650dfa6) fix: unhandled server error when accessing not found pages - [`02616e4`](https://github.com/run-llama/LlamaIndexTS/commit/02616e45b03c57e12ff7477ded8ca6e6084f5a8b) move createTypeTable to the seperate file - [`22c2943`](https://github.com/run-llama/LlamaIndexTS/commit/22c2943bba887a08b8ee19bfd6c6c7cd1f56e531) lazy create type table ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `apps/next/src/app/docs/[[...slug]]/page.tsx` (+1 -2) </details> ### 📄 Description Fix issue #1732 Root Cause: AutoTypeTable cannot load tsconfig.json when the page is not found. See: https://fumadocs.vercel.app/docs/ui/components/auto-type-table#deep-dive Solution: use AutoTypeTable only when the page is found --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 22:16:54 -05:00
yindo closed this issue 2026-02-15 22:16:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/LlamaIndexTS#1816