SvelDocs is a free boilerplate project for creating documentation websites with Svelte 5 and Tailwind CSS 4.
[!TIP] This boilerplate is the actual website itself. You can see the live result and documentation here: https://brandenn.github.io/SvelDocs/docs
SvelDocs is built for a quick and easy setup, but still leaves plenty of room for deep customization when you want to shape the experience to your own style and workflow.
[!NOTE] This project assumes knowledge of web development and web frameworks. Familiarity with Svelte is a plus.
.md and llms.txt routes for AI usagesitemap.xmlGet up and running in three steps:
git clone https://github.com/BranDenn/SvelDocs
cd SvelDocs
Pick your package manager:
bun install
Run the dev server with your preferred package manager:
bun run dev
After the app is running, the main starting points are:
src/lib/configuration/site.config.ts for global site settingssrc/lib/configuration/docs.config.ts for docs-specific settingssrc/lib/server/navigation/doc-navigation.config.ts for doc navigation tabs, groups, and pagesAdd your own markdown content in the content folder. As a best practice, keep your folder structure aligned with your navigation structure.
Create a production build:
bun run build
Preview the production build locally:
bun run preview
SvelDocs is built on SvelteKit. For deployment, install and configure the adapter that matches your target platform: