aboutsummaryrefslogtreecommitdiffstats
path: root/man/ssg.1
blob: 837fbf7fd57d25e39832eb6187a69d9417d96d13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.TH SSG 1 "2026-01-01" "ssg" "General Commands Manual"
.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>