Skip to content

Latest commit

Β 

History

History
98 lines (71 loc) Β· 2.21 KB

File metadata and controls

98 lines (71 loc) Β· 2.21 KB

Calimero Documentation

New Calimero documentation site built with MkDocs Material.

πŸš€ Quick Start

Prerequisites

  • Python 3.11+
  • pip

Local Development

  1. Install dependencies:
pip install -r requirements.txt
  1. Start development server:
mkdocs serve
  1. Open in browser:
http://127.0.0.1:8000

The site will auto-reload when you make changes.

πŸ“ Structure

docs/
β”œβ”€β”€ docs/                  # Documentation content
β”‚   β”œβ”€β”€ intro/            # Introduction
β”‚   β”œβ”€β”€ builder-directory/ # Developer guide
β”‚   β”œβ”€β”€ app-directory/    # App examples
β”‚   β”œβ”€β”€ privacy-verifiability-security/
β”‚   β”œβ”€β”€ assets/           # Images, logos, etc.
β”‚   └── stylesheets/      # Custom CSS
β”œβ”€β”€ mkdocs.yml            # MkDocs configuration
β”œβ”€β”€ requirements.txt      # Python dependencies
└── vercel.json          # Vercel deployment config

🎨 Customization

Branding

  • Logo files: docs/assets/img/logo-black.svg and logo-white.svg
  • Favicon: docs/assets/img/favicon.svg
  • Custom styles: docs/stylesheets/extra.css

Theme

Configure in mkdocs.yml:

  • Colors (primary/accent)
  • Fonts
  • Features
  • Navigation

🚒 Deployment

Automatic Deployment (Vercel)

Production: Push to master β†’ https://docs.calimero.network
Preview: Open PR β†’ Unique preview URL (posted by Vercel bot)

No manual deployment needed! Everything is automated.

See DEPLOYMENT.md for detailed deployment guide.

Configuration files:

  • vercel.json - Build and output settings
  • requirements.txt - Python dependencies
  • runtime.txt - Python version
  • .github/workflows/build-check.yml - CI validation

Local Build

mkdocs build

Output will be in the site/ directory.

πŸ“ Adding Content

  1. Create or edit Markdown files in docs/
  2. Update navigation in mkdocs.yml under nav:
  3. Test locally with mkdocs serve
  4. Commit and push to deploy

πŸ”— Links