diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-27 06:44:59 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-27 06:44:59 -0500 |
| commit | 93670740c05def63ae4b02c99eb49391f663ff38 (patch) | |
| tree | 77bbd8d664622154155fc06e2c4228cfac4fec04 /man/ssg-init.1 | |
| parent | Add license (diff) | |
| download | ssg-93670740c05def63ae4b02c99eb49391f663ff38.zip | |
Add initial version of ssg
Diffstat (limited to 'man/ssg-init.1')
| -rw-r--r-- | man/ssg-init.1 | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/man/ssg-init.1 b/man/ssg-init.1 new file mode 100644 index 0000000..0f9db65 --- /dev/null +++ b/man/ssg-init.1 @@ -0,0 +1,45 @@ +.TH SSG-INIT 1 "December 2025" "ssg" "User Commands" +.SH NAME +ssg-init \- initialize a new site +.SH SYNOPSIS +.B ssg init +.RI [ directory ] +.SH DESCRIPTION +Create a new site with the standard directory structure: +.PP +.RS +.nf +data/ +templates/ +static/ +.fi +.RE +.PP +If no directory is specified, initializes in the current directory. +A sample +.I templates/index.html +is created if one does not exist. +.SH EXAMPLES +Initialize in the current directory: +.PP +.RS +.nf +$ ssg init +.fi +.RE +.PP +Initialize a new site: +.PP +.RS +.nf +$ ssg init mysite +$ cd mysite +$ ssg build +.fi +.RE +.SH SEE ALSO +.BR ssg-build (1) +.SH SSG +Part of the +.BR ssg (1) +suite. |