The fastest way to start a documentation site with docmd — pre-configured and ready to deploy.
- Click Use this template and create your repository
- Update
docmd.config.jsonwith your site title and URL - Push to
main— your site deploys automatically
Your site will be live at
https://<username>.github.io/<repo>/
.github/workflows/docs.yml # Auto-deploy on push to main
docmd.config.json # Site title, URL, and output directory
docs/index.md # Your first page
package.json # Local dev scripts
npm install
npm run dev # Live preview at localhost:3000
npm run build # Build to site/GitHub Pages must be set to deploy from GitHub Actions (not a branch).
Go to Settings → Pages → Source → GitHub Actions.
This only needs to be configured once per repository.