Skip to content

docs: document 10 exported Navbar*/Sidebar* sub-components and 6 public composables; clarify ./utils status #95

Description

@IgorShevchik

Background

Surfaced during the June 2026 multi-angle project audit (documentation review). Docs coverage is otherwise strong — every spot-checked "Defaults to" claim matched the source — these are the genuine gaps. (FormField #label slot = #48, not repeated here.)

Scope

1. 10 exported components have no docs page or mention

Navbar, NavbarSection, NavbarDivider, NavbarSpacer, SidebarHeader, SidebarBody, SidebarFooter, SidebarSection, SidebarHeading, SidebarSpacer are public API (exported in src/runtime/types/index.ts:104-115, registered via addComponentsDir, each with its own src/theme/*.ts) but have no page under docs/content/docs/2.components/ and are not even mentioned on sidebar.md/sidebar-layout.md. They're also absent from the skill's references/components.md.
Action: dedicated pages or a "Sub-components" section on the Sidebar/SidebarLayout (and a new Navbar) pages + rows in the skill component index.
(Other undocumented names — *Content, LinkBase, ModalDialogClose, OverlayProvider, Toaster — are internals per nuxt/ui convention; fine as is.)

2. 6 of 17 auto-imported composables undocumented

src/imports.ts (publicComposables) auto-imports 17; docs/content/docs/3.composables/ covers 11. Missing: useFileUpload, useScrollspy, useKbd, useResizable, useContentSearch, useLocale. (useFileUpload's only mention in all docs is a passing reference in use-speech-recognition.md — the FileUpload component page doesn't mention it either.)

3. ./utils export status

src/runtime/utils/ is exposed via package.json exports (./utils, ./utils/*) but is entirely undocumented. At minimum state whether it's public, stable API; ideally a short reference page for the genuinely useful helpers.

Priority: P2. Related: JSDoc-pass issue covers the in-code documentation side.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions