Klarity Documentation

Welcome to the documentation for Klarity - a simple, light-config markdown docs generator.

These docs are written using Klarity itself, to see the source for them look in the github repo.

🚀 Quick Start

  1. Install Klarity:

    go install https://github.com/kociumba/klarity
    
  2. Initialize a new project:

    klarity init my-docs
    
  3. Start the dev server:

    klarity dev my-docs
    

    Open http://localhost:5173 in your browser.

  4. Build for production:

    • make sure base_url is set correctly in klarity.toml
    • run the build command:
    klarity build my-docs
    

📁 Project Structure

A default Klarity project contains:

✨ Features

For a list of features with examples look in Features.md

📝 Example

# My Project

Welcome to my docs! See [[getting_started.md]] for more info.

- [ ] Task list
- [x] Completed task

Inline math: $E=mc^2$

Continue exploring the sidebar for more details on configuration and advanced usage.