From 28cfc0cfdceb0e647ee7bc8c777f12f39652886a Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 8 Dec 2024 13:35:43 -1000 Subject: [PATCH] ;tools: just site-manuals-snapshot --- Justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Justfile b/Justfile index 62729bc60..93e201851 100644 --- a/Justfile +++ b/Justfile @@ -829,6 +829,11 @@ LOCALSITEURL := 'http://localhost:3000/index.html' (printf "\nbrowser will open in {{ BROWSEDELAY }}s (adjust BROWSE if needed)...\n\n"; sleep $BROWSEDELAY; $BROWSE "$LOCALSITEURL" ) & $WATCHEXEC --print-events -e md,m4 -i hledger.md -i hledger-ui.md -i hledger-web.md -r './Shake webmanuals && ./Shake orgfiles && make -sC site serve' +# make and commit a snapshot of the manuals, with this version number +@site-manuals-snapshot VER: + make -C site snapshot-{{ VER }} + + STACKHADDOCK := 'time ' + STACK + ' --verbosity=error haddock --fast --no-keep-going \ --only-locals --no-haddock-deps --no-haddock-hyperlink-source \ --haddock-arguments="--no-warnings" \