aboutsummaryrefslogtreecommitdiffstats
path: root/man/ssg.1
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-12-27 06:44:59 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-12-27 06:44:59 -0500
commit93670740c05def63ae4b02c99eb49391f663ff38 (patch)
tree77bbd8d664622154155fc06e2c4228cfac4fec04 /man/ssg.1
parentAdd license (diff)
downloadssg-93670740c05def63ae4b02c99eb49391f663ff38.zip
Add initial version of ssg
Diffstat (limited to 'man/ssg.1')
-rw-r--r--man/ssg.150
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>