FeatherKit-docs

Documentation Template

A modern documentation template built with Svelte 5, MDSvex, and Tailwind CSS.

Template Preview

Overview

Create beautiful, modern documentation sites with minimal setup. This template combines the power of Svelte 5 with the flexibility of Markdown to deliver a superior documentation experience.

Features

Quick Start

  1. Click the green β€œUse this template” button
  2. Create a new repository
  3. Clone your repository:
    git clone https://github.com/yourusername/your-repo-name.git
    
  4. Install dependencies:
    cd your-repo-name
    npm install
    
  5. Start the development server:
    npm run dev
    

Project Structure

your-project/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ content/          # Documentation markdown files
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   β”œβ”€β”€ components/   # Core components
β”‚   β”‚   β”‚   β”œβ”€β”€ document/ # Document-related components
β”‚   β”‚   β”‚   β”œβ”€β”€ home/     # Home page components
β”‚   β”‚   β”‚   └── ui/       # UI components
β”‚   β”‚   β”œβ”€β”€ hooks/        # Custom hooks
β”‚   β”‚   β”œβ”€β”€ types/        # TypeScript type definitions
β”‚   β”‚   β”œβ”€β”€ config.ts     # Site configuration
β”‚   β”‚   β”œβ”€β”€ index.ts      # Library exports
β”‚   β”‚   └── utils.ts      # Utility functions
β”‚   β”œβ”€β”€ routes/           # SvelteKit routes
β”‚   β”œβ”€β”€ app.css          # Global styles
β”‚   β”œβ”€β”€ app.d.ts         # TypeScript declarations
β”‚   └── app.html         # HTML template
└── static/              # Static assets

Writing Documentation

Place your markdown files in the src/content directory. The folder structure will automatically generate the navigation.

---
title: Getting Started
description: Learn how to use this template
---

# Getting Started

Write your documentation here...

Customization

Themes

Modify the theme in src/app.css or use pre-built themes from shadcn-svelte.

Components

Customize components in src/lib/components to match your brand.

Configuration

Update site settings in src/lib/config:

export const siteConfig = {
    title: 'Your Documentation',
    description: 'Your site description',
    // ...other settings
};

Development

# Start development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

Deployment

This template can be deployed to any static hosting platform:

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - use this template for any project.

Acknowledgments

Support

Need help with your documentation? Contact us.