Skip to content

Latest commit

 

History

History

website

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Command reference site

The Hugo site published to https://flagsmith.github.io/flagsmith-cli/ on every release.

All of content/ is generated from the CLI's own help text by cmd/docgen and is gitignored.

Preview locally

Requires Hugo extended (brew install hugo) and Go.

go run ./cmd/docgen -out website/content   # from the repository root
cd website && hugo server

Then open http://localhost:1313. Re-run docgen after changing help text.

What is hand-written

Path Purpose
hugo.yaml Site config, navigation, theme
layouts/_partials/navbar-title.html Theme override: version badge
layouts/home.html Theme override