Customisable docs sections (create / rename / reorder / delete)
FeatureShipped· by laama.fusion· 1 day ago
Docs sections were previously hard-coded to the seed values (Getting started / Guides / Reference) — there was no admin UI to add or rename them.
You can now manage your docs taxonomy entirely from the docs admin page:
- Add any header you want — Cookbook, FAQ, API reference, Tutorials, Migration guides, …
- Rename existing sections inline (header + slug)
- Reorder with up/down arrows (
positionswap) - Delete safely — pages are orphaned (
section_id = null) rather than dropped, so it's reversible
Behind the scenes:
- New server actions:
createDocSectionAction,updateDocSectionAction,moveDocSectionAction,deleteDocSectionAction - Slug uniqueness via the existing
(project_id, slug)constraint, with a friendly error when collisions happen - Confirmation prompt warns when a delete will orphan pages
Comments (0)
No comments yet.
Sign in to leave a comment.