diff options
author | jgart <jgart@dismail.de> | 2024-09-09 13:27:52 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2024-09-11 08:14:39 -0400 |
commit | 5410430affaf7e10cf9ab4a6cfcd15950baee1d9 (patch) | |
tree | 95e2dd3b70447f3160bad9fe65116e5737eaff37 /doc | |
parent | dbcbdbd0593c763e564a2cc6ccec0f4d74e0b09c (diff) |
ui: Add 'new' subcommand.
* doc/haunt.texi: Document it.
* haunt/ui/new.scm: New file.
* Makefile.am (SOURCES): Add it.
* README: Mention the new subcommand.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/haunt.texi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/haunt.texi b/doc/haunt.texi index 6be2fb5..8df937a 100644 --- a/doc/haunt.texi +++ b/doc/haunt.texi @@ -299,6 +299,7 @@ programming interfaces. @menu * Invoking haunt build:: Build the website. * Invoking haunt serve:: Serve the website over HTTP. +* Invoking haunt new:: Generating a blog template. * Invoking haunt publish:: Publish the website. @end menu @@ -375,6 +376,25 @@ Automatically rebuild the site when source files change. @end table +@node Invoking haunt new +@section Invoking @command{haunt new} + +The @command{haunt new} command creates a starter template for a new website. + +Usage: + +@example +haunt new +@end example + +By default, haunt will create a directory called @file{blog}. To use a +different name for your new blog, simply provide the name at the +command line as follows: + +@example +haunt new my-blog +@end example + @node Invoking haunt publish @section Invoking @command{haunt publish} |