From 7655b5e1b285a44a73b722e761add249bfb0a821 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 9 Sep 2022 09:35:20 +0300 Subject: fix: use new Subplot external document metadata YAML file Sponsored-by: author --- check | 6 +++--- jt.subplot | 13 +++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 jt.subplot diff --git a/check b/check index 801c75c..0a75438 100755 --- a/check +++ b/check @@ -30,10 +30,10 @@ $hideok cargo test $hideok cargo fmt -- --check $hideok find . -type f -name '*.py' ! -name test.py -exec black --check '{}' + -$hideok subplot docgen jt.md --output jt.html -$hideok subplot docgen jt.md --output jt.pdf +$hideok subplot docgen jt.subplot --output jt.html +$hideok subplot docgen jt.subplot --output jt.pdf -$hideok subplot codegen jt.md --output test.py +$hideok subplot codegen jt.subplot --output test.py rm -f test.log target="$(cargo metadata --format-version=1 | jq -r .target_directory)" $hideok python3 test.py --log test.log --env "CARGO_TARGET_DIR=$target" "$@" diff --git a/jt.subplot b/jt.subplot new file mode 100644 index 0000000..1bf40a8 --- /dev/null +++ b/jt.subplot @@ -0,0 +1,13 @@ +title: "jt—a journalling tool" +author: Lars Wirzenius and Daniel Silverstone +markdowns: +- jt.md +bindings: +- subplot/jt.yaml +- lib/files.yaml +- lib/runcmd.yaml +impls: + python: + - subplot/jt.py + - lib/files.py + - lib/runcmd.py -- cgit v1.2.1