svelte-edda
svelte-edda is a static documentation site generator. It turns a folder of Markdown files into a documentation website. The Markdown stays plain: it reads well on GitHub, in your npm package and for AI agents, while the site gets tabs, live Svelte demos, search and a theme you can restyle with Tailwind.
- Markdown is the source. No MDX, no imports in your pages. Components are written as HTML comments, which GitHub hides, around ordinary Markdown.
- Svelte components. Register your own components in the config; mark them interactive and they hydrate in the browser as islands. Everything else ships as plain HTML.
- Live demos. A code block marked
svelte liverenders as a working component above its source. - For agents. Every page is also served as Markdown, plus
llms.txtandllms-full.txt. - Static output. Build once, host anywhere; GitHub Pages works out of the box.
Coming from Docusaurus, VitePress, Starlight, MkDocs or a hosted platform? See how they compare.
Quick start
bun
bun add -d svelte-edda
bunx svelte-edda devnpm
npm install -D svelte-edda
npx svelte-edda devpnpm
pnpm add -D svelte-edda
pnpm svelte-edda devPut your pages in docs/, then continue with Getting started.