From f5d18169510595af6f3ac107624735bd06e1a8b4 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 9 Sep 2022 09:56:06 +0300 Subject: fix: use new external YAML document metadata for subplot Sponsored-by: author --- check | 6 +++--- summain.md | 12 ------------ summain.subplot | 11 +++++++++++ 3 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 summain.subplot diff --git a/check b/check index 0830900..24b73fe 100755 --- a/check +++ b/check @@ -30,10 +30,10 @@ cargo build --all-targets $quiet got_cargo_cmd clippy && cargo clippy $quiet got_cargo_cmd fmt && cargo fmt -- --check -subplot docgen summain.md -o summain.html -subplot docgen summain.md -o summain.pdf +subplot docgen summain.subplot -o summain.html +subplot docgen summain.subplot -o summain.pdf -subplot codegen summain.md -o test.py +subplot codegen summain.subplot -o test.py rm -f test.log if ! $hideok python3 test.py --log test.log "$@"; then tail -n500 test.log diff --git a/summain.md b/summain.md index ae6166a..3721b0f 100644 --- a/summain.md +++ b/summain.md @@ -245,15 +245,3 @@ size: 0 sha256: ~ target: ~ ``` - ---- -title: "Summain—deterministic file manifests" -author: Lars Wirzenius -bindings: - - subplot/summain.yaml - - lib/runcmd.yaml -impls: - python: - - subplot/summain.py - - lib/runcmd.py -... diff --git a/summain.subplot b/summain.subplot new file mode 100644 index 0000000..a75957a --- /dev/null +++ b/summain.subplot @@ -0,0 +1,11 @@ +title: "Summain—deterministic file manifests" +author: Lars Wirzenius +markdowns: + - summain.md +bindings: + - subplot/summain.yaml + - lib/runcmd.yaml +impls: + python: + - subplot/summain.py + - lib/runcmd.py -- cgit v1.2.1