Major Changes
-
62b5abb: New Layout
- Remove navbar from docs layout, replace it with sidebar.
- On smaller devices, navbar is always shown.
- Remove exports of internal components, copying components from the repository is now the preferred way.
migrate: On layouts, Rename
nav.githubUrl
togithubUrl
.
Modify your stylesheet if necessary. -
5741224: Remove deprecated option
enableThemeProvider
from Root Providermigrate: Use
theme.enabled
instead. -
2f8b168: Replace
<LanguageSelect />
component with<LanguageToggle />
migrate:
Remove your
<LanguageSelect />
component from the layout. Enable the new language toggle with:import { DocsLayout } from 'fumadocs-ui/layout'; export default function Layout({ children }: { children: React.ReactNode }) { return <DocsLayout i18n>{children}</DocsLayout>; }
Minor Changes
- d88dfa6: Support switching between page trees with
RootToggle
component