Documentation site for remodel-core, built with React Router and Fumadocs.
The site documents the Rust modeling engine behind Remodel: conceptual modeling, logical conversion, validation rules, SQL generation, and related integration topics. It also exposes machine-readable documentation endpoints for LLM-oriented consumers.
- GitHub: https://github.com/hebertcisco/remodel-core
- crates.io: https://crates.io/crates/remodel-core
- docs.rs: https://docs.rs/remodel-core
- React 19
- React Router 7
- Fumadocs
- MDX content in
content/docs - Tailwind CSS 4
Install dependencies:
bun installStart the dev server:
bun run devBuild for production:
bun run buildServe the production build locally:
bun run startRun static checks:
bun run lint
bun run types:checkIf you prefer, the scripts also work through npm, pnpm, or yarn.
dev: starts the React Router development serverbuild: creates the production buildstart: serves the built app frombuild/server/index.jslint: runsoxlinttypes:check: generates route/docs types and runs TypeScript checkspostinstall: regenerates Fumadocs MDX metadata
remodel-core-docs/
├── app/
│ ├── components/ # shared MDX/UI helpers
│ ├── lib/ # source loading, layout, OG helpers
│ ├── llms/ # LLM-friendly text/MDX endpoints
│ ├── routes/ # app routes
│ └── root.tsx
├── content/docs/ # documentation pages and sidebar metadata
├── public/ # static assets
├── source.config.ts # Fumadocs content source configuration
└── vite.config.ts
Documentation pages live in content/docs/*.mdx.
- Add new pages as MDX files with frontmatter such as
titleanddescription. - Keep
content/docs/meta.jsonin sync so the sidebar order and section grouping stay correct. - The docs route reads content from the generated Fumadocs source, so changing MDX files is usually enough for new content.
The current docs are organized around:
- introduction and getting started
- conceptual modeling
- logical modeling
- validation and conversion
- SQL generation
- integration topics
Main routes:
/: landing page/docs/*: documentation pages/api/search: search endpoint/og/docs/*: Open Graph image generation
LLM-oriented routes:
/llms.txt: index of available machine-readable docs/llms-full.txt: aggregated plain-text documentation/llms.mdx/docs/*: page-level MDX output
- The docs source is configured in
source.config.tswith processed markdown enabled. types:checkruns both React Router type generation andfumadocs-mdx, so it is the safest verification command after content or route changes.- Some entries referenced by
content/docs/meta.jsonshould stay aligned with actual MDX files to avoid broken navigation.