aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/book.toml
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2022-05-26 16:47:40 +0200
committerJan Tojnar <jtojnar@gmail.com>2022-05-26 18:17:21 +0200
commit3272afa17b68d25c8070e58819f2e56f075c764d (patch)
treef68d7fd444cf9f1501f8d31f3548d9b60b8974a9 /doc/manual/book.toml
parent4de84e095d0f1fa7f3b5db8904496ffd2752d73e (diff)
doc: Port anchors preprocessor to jq script
Python is only pulled into the build closure by Mercurial, which might end up being removed. Let’s port the script to jq, which is more likely to stay.
Diffstat (limited to 'doc/manual/book.toml')
-rw-r--r--doc/manual/book.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual/book.toml b/doc/manual/book.toml
index 75554d11f..ff6b79c07 100644
--- a/doc/manual/book.toml
+++ b/doc/manual/book.toml
@@ -2,4 +2,5 @@
additional-css = ["custom.css"]
[preprocessor.anchors]
-command = "python3 doc/manual/anchors.py"
+renderers = ["html"]
+command = "jq --from-file doc/manual/anchors.jq"