github fuma-nama/fumadocs fumadocs@16.18.0

latest releases: fumadocs-preview@0.2.6, fumadocs-openapi@12.6.0, fumadocs-obsidian@1.2.0...
6 hours ago
  • @fumadocs/base-ui@16.18.0
  • fumadocs-core@16.18.0
  • fumadocs-ui@16.18.0

Hidden GitHub navigation icon

  • Hide the decorative GitHub navigation icon from assistive technology to avoid an unnamed SVG image in the accessibility tree. The link retains its GitHub label.

Accessibility fixes

  • Docs layouts render a visually hidden "Skip to Content" link as the first focusable element.
  • Escape closes the mobile sidebar drawer, and focus returns to the trigger when the drawer closes.
  • The heading "Copy Anchor Link" button is visible on keyboard focus.
  • A Tab id only links to the tab by URL hash, panels keep the ids that tab triggers point aria-controls at.
  • Multi-word tab labels produce ids without spaces.
  • TOC single mode highlights the clicked item and no longer skips headings while scrolling.
  • DocsPage editOnGithub defaults sha to main as documented.

Language switcher closes on selection

  • The language switcher closes after choosing a language.

Typed loaders fit LoaderOutput

  • A loader typed by its content source and the translations of some languages are assignable to LoaderOutput and TranslationsAPI.

Framework plugins

  • Added fumadocs-core/framework/plugin: the plugin API for integrations to add routes and page content to frameworks.
  • Integrations export their plugin as the default export of /press: openapiPlugin(), asyncapiPlugin(), graphqlPlugin(), notionPlugin(), obsidianPlugin() and sanityPlugin().
  • The pages of staticSource() and dynamicSource() of OpenAPI, AsyncAPI and GraphQL have full: true in their page data, like generated files.

Smaller static Flexsearch index

  • The exported Flexsearch index is about 80% smaller, search results are unchanged.

renderUrl option of llms()

  • llms() accepts renderUrl to change the links of pages.

Don't miss a new fumadocs release

NewReleases is sending notifications on new releases.