Docit
Docit is a static site generator for documentation. It builds Markdown content into a static site using Protocol UI and outputs to a configurable directory (default docs/dist)—perfect for GitHub Pages, GitLab Pages, or any static hosting.
Features
- Markdown-first – Write docs in plain Markdown
- Protocol UI – Modern docs theme with search, dark mode
- GitHub Actions ready – Reusable workflow for build-and-deploy
- Monorepo friendly – Works as a package at
packages/laravel-docitor via Composer
Requirements
- PHP 8.2+
- Node.js (for Tailwind asset compilation)
Quick Start
Add a docit script to your composer.json and run composer docit. See Installation and Quick Start for details.