diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-09-15 17:58:31 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-09-15 17:58:31 +0300 |
commit | 458ffa9772d400b42a4ac52dd4b314f98e83f077 (patch) | |
tree | b701a315368617fd4302f811ccedc59fefbbd0c4 | |
parent | 1bf4d8fd3e6c2f43085670a570562561d188afac (diff) | |
download | ewww-458ffa9772d400b42a4ac52dd4b314f98e83f077.tar.gz |
fix: use new Subplot external YAML metadata file
Sponsored-by: author
-rwxr-xr-x | check | 10 | ||||
-rw-r--r-- | ewww.md | 20 | ||||
-rw-r--r-- | ewww.subplot | 18 |
3 files changed, 23 insertions, 25 deletions
@@ -48,11 +48,11 @@ if cargo fmt --help >/dev/null 2>/dev/null; then $hideok cargo fmt -- --check fi -for md in [^CR]*.md; do - $hideok echo "$md =====================================" - codegen "$md" test.py - docgen "$md" "$(basename "$md" .md).pdf" - docgen "$md" "$(basename "$md" .md).html" +for subplot in [^CR]*.subplot; do + $hideok echo "$subplot =====================================" + codegen "$subplot" test.py + docgen "$subplot" "$(basename "$subplot" .subplot).pdf" + docgen "$subplot" "$(basename "$subplto" .subplot).html" $hideok echo done @@ -1,23 +1,3 @@ ---- -title: "Ewww — a Web server for static sites" -author: Lars Wirzenius -bindings: - - subplot/ewww.yaml - - lib/daemon.yaml - - lib/files.yaml - - lib/runcmd.yaml -impls: - python: - - subplot/ewww.py - - subplot/http.py - - lib/daemon.py - - lib/files.py - - lib/runcmd.py -classes: - - scenario-disabled -... - - # Introduction Ewww is a web server for static sites. It aims to be simple code, diff --git a/ewww.subplot b/ewww.subplot new file mode 100644 index 0000000..a710712 --- /dev/null +++ b/ewww.subplot @@ -0,0 +1,18 @@ +title: "Ewww — a Web server for static sites" +author: Lars Wirzenius +markdowns: + - ewww.md +bindings: + - subplot/ewww.yaml + - lib/daemon.yaml + - lib/files.yaml + - lib/runcmd.yaml +impls: + python: + - subplot/ewww.py + - subplot/http.py + - lib/daemon.py + - lib/files.py + - lib/runcmd.py +classes: + - scenario-disabled |