You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(nav): stop listing "index" in meta.json pages — it detaches the folder index (#12352)
Fumadocs attaches a folder's index.mdx as that folder's tree `index` node only
when the folder's meta.json does NOT list "index" in `pages`. Listing it makes
the page an ordinary child and leaves the folder node with a name and no url,
which degrades both surfaces built from that node: `getBreadcrumbItems()` drops
the un-linkable ancestor, and the sidebar renders an inert `SidebarFolderTrigger`
instead of a `SidebarFolderLink`.
Removes "index" from 16 of the 17 meta.json files that listed it.
content/docs/releases/ is fenced by AGENTS.md and is left untouched.
Measured on the real fumadocs-core 16.14.4 loader over content/docs:
short breadcrumb trails 172 -> 8 (the 8 are all under /docs/releases), and the
sidebar delta is exactly 16 folder headers TRIGGER -> LINK plus 16 index
children leaving the child list, with no other entry moved.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
0 commit comments