Recommended Layout
This is the section structure we recommend for most projects. It maps each doc type to a clear section in the sidebar.
The layout
Section-to-type mapping
Monorepo additions
For monorepos with multiple apps or packages, add isolated sections for each workspace:
Using standalone: true gives each app or package its own sidebar, keeping navigation focused.
File structure
The recommended directory layout mirrors the sections:
Adapting the layout
Not every project needs all sections. Start with what you have:
Add sections as your docs grow. Removing an empty section is easier than reorganizing a flat pile of docs later.