A reusable SvelteKit wiki you can drop into any repo: a Markdown / MDsveX reader with sidebar tree, full-text search, a git-driven diff timeline, and an optional in-browser editor for dev mode.
npm create @iammaxim/docgen@latest my-docs
cd my-docs
npm run dev
Drop .md or .svx files under docs/ and reload.
[[links]], autolinked headings, callouts.docs/. Full-text search bound to ⌘K / Ctrl+K.git log.npm run dev, edit any doc in-place with live preview (off in production builds).| Package | What it is |
|---|---|
@iammaxim/docgen |
The SvelteKit library — components, loaders, mdsvex pipeline. |
@iammaxim/create-docgen |
Scaffolds a new site (npm create @iammaxim/docgen). |
Templates live in templates/:
minimal — bare scaffolding (configs + empty docs/)starter — minimal plus sample documents and a richer homepagegit clone https://github.com/iammaxim/docgen.git
cd docgen
npm install
npm run build -w @iammaxim/docgen
npm test
Tests are plain node --test over TypeScript via tsx. No bundler in the loop.
See docs/PUBLISHING.md for the release process.