Migration
From Demo Template
Move from an older demo-style setup to the docs-first, Bun-native framework structure used by the current project.
migrationtemplateupgrade
Older versions of this project mixed framework experiments, demo app code, and docs concerns together. The current direction is stricter.
Migration goals
- keep the docs site as the primary product surface
- move authored docs into
app/routes/docs/**/*.md - keep generated assets under
.rbssr/anddist/ - use Bun-first runtime helpers consistently
Typical migration steps
- Move ad-hoc pages into
app/routes. - Replace generic anchors with
Linkfor internal navigation. - Move route-specific styling into CSS Modules.
- Replace custom markdown plumbing with first-class
.mdroutes. - Regenerate API docs and search artifacts.
Validation checklist
bun run test
bun run docs:check
bun run docs:build
Related guides
Next step
Return to Overview if you want to follow the new documentation flow from the beginning.