A modern, fast, and beautiful static documentation site generator built with SvelteKit 2 and TailwindCSS 4. Create elegant documentation from your markdown files with zero configuration.
- 🌙 Beautiful Dark Theme - Modern, professional dark UI
- 📱 Responsive Design - Works perfectly on all devices
- 🗂️ File Tree Navigation - Interactive sidebar with folder/file structure
- 📝 Markdown Support - Full markdown rendering with mdsvex
- 🔗 Anchor Links - Automatic heading IDs and smooth scrolling
- ⚡ Static Generation - Fast, SEO-friendly static site
- 🎯 Zero Config - Just add markdown files and go
- ♿ Accessible - Keyboard navigation and screen reader friendly
- 🚀 Modern Stack - Built with latest Svelte 5 and TailwindCSS 4
- Bun 1.2+
- Git
-
Clone the repository
git clone <repository-url> cd mudrock-static
-
Install dependencies
bun install
-
Start development server
# With npm npm run dev # With bun bun dev
-
Open in browser
http://localhost:5173
Place your markdown files in the src/docs/ directory:
src/
└── docs/
├── getting-started.md
├── api/
│ ├── authentication.md
│ └── endpoints.md
└── guides/
├── installation.md
└── configuration.md
Your markdown files will automatically appear in the sidebar navigation. The file structure becomes the navigation structure.
Example markdown file:
# Getting Started
Welcome to the documentation!
## Quick Start
Here's how to get started...
### Installation
1. Install the package
2. Configure your settings
3. Start using it!
## Next Steps
- [API Reference](./api/authentication)
- [Configuration Guide](./guides/configuration)The project supports standard markdown syntax including:
- Headers (H1-H6) with automatic anchor IDs
- Lists (ordered and unordered)
- Code blocks (fenced and indented)
- Links and emphasis (bold/italic)
- Blockquotes and horizontal rules
- Tables and inline code
The site uses TailwindCSS 4 with a custom dark theme. Key colors:
- Background:
slate-900 - Sidebar:
slate-800 - Text:
slate-100/slate-300 - Accent:
blue-400/blue-600
The sidebar automatically generates from your file structure:
- Folders → Collapsible sections with folder icons
- Files → Clickable items with document icons
- Nesting → Unlimited depth support
Main navigation component that renders the file tree.
Individual tree node (file or folder) with hover effects and icons.
- Smart Icons - Folders and files have distinct icons
- Hover Effects - Smooth animations and visual feedback
- Collapsible - Folders can be expanded/collapsed
- Clean Names -
.mdextensions are automatically hidden
- Auto-generated IDs - Headings get automatic anchor IDs
- Smooth Scrolling - Animated scroll to sections
- Table of Contents - Works with markdown TOC links
bun run buildThis generates a static site in the build/ directory.
The site works with any static hosting service:
- Vercel
- Netlify
- GitHub Pages
- Cloudflare Pages
- Light theme toggle
- Search functionality
- Table of contents component
- Custom syntax highlighting themes
- Plugin system for custom components
- Multi-language support