diff options
Diffstat (limited to 'man/ssg.1')
| -rw-r--r-- | man/ssg.1 | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/man/ssg.1 b/man/ssg.1 new file mode 100644 index 0000000..a2d0621 --- /dev/null +++ b/man/ssg.1 @@ -0,0 +1,50 @@ +.TH SSG 1 "December 2025" "ssg" "User Commands" +.SH NAME +ssg \- a tiny static site generator +.SH SYNOPSIS +.B ssg +.I command +.RI [ options ] +.SH DESCRIPTION +.B ssg +is a minimal static site generator that reads JSON data files and renders +Go templates to produce static HTML. Static assets are copied unchanged +to the output directory. +.SH COMMANDS +.TP +.BR ssg-build (1) +Build the site. +.TP +.BR ssg-serve (1) +Start a local HTTP server. +.TP +.BR ssg-init (1) +Initialize a new site. +.TP +.BR ssg-version (1) +Print the version. +.TP +.BR ssg-help (1) +Show help for a command. +.SH FILES +.TP +.I data/ +JSON data files. Each file becomes a template variable. +.TP +.I templates/ +HTML template files. +.TP +.I static/ +Static files copied unchanged. +.TP +.I dist/ +Default output directory. +.SH SEE ALSO +.BR ssg-build (1), +.BR ssg-serve (1), +.BR ssg-init (1), +.BR ssg-version (1), +.BR ssg-help (1), +.BR ssg-templates (5) +.SH AUTHOR +Eugene Triguba <hello@eugenetriguba.com> |