Add serve function, update documentation accordingly

Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/aya/trunk@61 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
yakumo.izuru
2023-04-21 23:06:28 +00:00
parent 625906f6b5
commit 2fb3d262ea
3 changed files with 38 additions and 26 deletions

29
aya.1
View File

@@ -16,21 +16,22 @@ Does it need one?
.It Fast (of course)
.El
.Sh USAGE
.Ss (Re-)build your site.
.Nm
.Cm build
.Ss (Re-)build one file and prints resulting content to standard output.
.Bl -tag
.It build
(Re-)build a site or a file in particular
.It serve
Serve generated site over HTTP
.It var
Print a list of variables defined in a given markdown file.
.It watch
(Re-)build a site if any file changed
.Sh HISTORY
.Nm
.Cm build
.Ar <file>
.Ss (Re-)build your site every time you modify any file.
.Nm
.Cm watch
.Ss Print a list of variables defined in the header of a given markdown file.
.Nm
.Cm var
.Ar <file>
.Ar <var1> <var2> ...
was originally forked from prologic/zs by Izuru
out of disgust with the latest revision, so he
used a earlier commit as a base, and then
eventually reimplemented older features from
zserge's original project.
.Sh AUTHORS
.Nm
is maintained by Izuru Yakumo