diff --git a/doc/manual/book.toml b/doc/manual/book.toml index 1d14347a4..e03bed737 100644 --- a/doc/manual/book.toml +++ b/doc/manual/book.toml @@ -15,6 +15,7 @@ command = "python3 doc/manual/docroot.py" # the link preprocessor gets its hands on this book, but nope it's actually # the opposite. after = ["links"] +before = ["anchors"] [preprocessor.anchors] renderers = ["html"] diff --git a/doc/manual/local.mk b/doc/manual/local.mk index e7c029727..5d05bbdcc 100644 --- a/doc/manual/local.mk +++ b/doc/manual/local.mk @@ -163,9 +163,6 @@ $(docdir)/manual/index.html: $(MANUAL_SRCS) $(d)/book.toml $(d)/anchors.jq $(d)/ $(trace-gen) \ tmp="$$(mktemp -d)"; \ cp -r doc/manual "$$tmp"; \ - find "$$tmp" -name '*.md' | while read -r file; do \ - doc/manual/process-includes.sh $$file $$file; \ - done; \ set -euo pipefail; \ RUST_LOG=warn mdbook build "$$tmp/manual" -d $(DESTDIR)$(docdir)/manual.tmp 2>&1 \ | { grep -Fv "because fragment resolution isn't implemented" || :; }; \