Skip to content

Lito-docs/template

Repository files navigation

Lito Default Template

The official default template for Lito.

Usage

This template is automatically used by Lito:

# Uses this template by default
lito dev -i ./your-docs

# Or explicitly specify it
lito dev -i ./your-docs --template github:Lito-docs/template

Customization

Fork & Modify

  1. Fork this repository
  2. Make your changes
  3. Use your fork:
lito dev -i ./docs --template github:YOUR_USERNAME/lito-default-template

Local Development

  1. Clone this repo
  2. Modify the template
  3. Use it locally:
lito dev -i ./docs --template ./path/to/this/folder

Structure

├── astro.config.mjs     # Astro configuration
├── package.json         # Dependencies
├── src/
│   ├── components/      # UI components
│   ├── layouts/         # Page layouts
│   ├── pages/           # Route templates
│   ├── styles/          # CSS styles
│   └── utils/           # Utility functions
└── public/              # Static assets

Creating Your Own Template

  1. Copy this template as a starting point
  2. Modify components, layouts, and styles
  3. Push to GitHub
  4. Use with: --template github:you/your-template

Requirements

A valid Lito template must have:

  • astro.config.mjs
  • package.json with Astro dependencies
  • src/pages/ directory for routing

License

MIT

About

default template for superdocs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •