Mercurial > yakumo_izuru > aya
diff README.md @ 60:cf7277e42ece draft
Add serve function, update documentation accordingly
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Fri, 21 Apr 2023 23:06:28 +0000 |
parents | c6785950280e |
children | 0716397c44e8 |
line wrap: on
line diff
--- a/README.md Fri Apr 21 20:25:31 2023 +0000 +++ b/README.md Fri Apr 21 23:06:28 2023 +0000 @@ -17,7 +17,7 @@ Build it manually assuming you have Go installed: - $ go install marisa.chaotic.ninja/aya@latest + $ go install marisa.chaotic.ninja/aya/cmd/aya@latest ## Ideology @@ -66,10 +66,10 @@ echo $timestamp \ "<item>" \ "<title>$title</title>" \ - "<link>http://ayaerge.com/$url</link>" \ + "<link>http://zserge.com/$url</link>" \ "<description>$descr</description>" \ "<pubDate>$(date --date @$timestamp -R)</pubDate>" \ - "<guid>http://ayaerge.com/$url</guid>" \ + "<guid>http://zserge.com/$url</guid>" \ "</item>" fi done | sort -r -n | cut -d' ' -f2- @@ -93,12 +93,14 @@ `aya build <file>` re-builds one file and prints resulting content to stdout. -`aya watch` rebuilds your site every time you modify any file. +`aya serve` serves your site over HTTP. `aya var <filename> [var1 var2...]` prints a list of variables defined in the header of a given markdown file, or the values of certain variables (even if it's an empty string). +`aya watch` rebuilds your site every time you modify any file. + ## License The software is distributed under the MIT license.