Commit
7792e407939f0a27850a60a5b438916564b1a5d2
ci: use system asciidoctor
Our CI Documentation builds have pinned asciidoctor since 615a6c37e1 (ci: stick with Asciidoctor v1.5.8 for now, 2019-03-29). Back then a few changes were needed to build with the then-new v2.0.0. We've since made those changes, in f6461b82b9 (Documentation: fix build with Asciidoctor 2, 2019-09-15) and other commits. So it is not only safe to use newer versions of asciidoctor, but preferable: it's what people are likely to use for actually building the documentation in practice! I don't think there's any need to pin to a specific version. We can just use what ships in our Ubuntu image, which should give us an arbitrary representative version (and if it changes and something breaks, we'd want to know). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King <peff@peff.net> · 2026-09-02 07:16 UTC · committed by Junio C Hamano
1 file changed,
+2
−2
modified ci/install-dependencies.sh
| @@ -164,9 +164,9 @@ sparse) | |||
| 164 | 164 | libexpat-dev gettext zlib1g-dev sparse | |
| 165 | 165 | ;; | |
| 166 | 166 | Documentation) | |
| 167 | - | sudo apt-get -q -y install asciidoc xmlto docbook-xsl-ns make ruby | |
| 167 | + | sudo apt-get -q -y install asciidoc xmlto docbook-xsl-ns make ruby \ | |
| 168 | + | asciidoctor | |
| 168 | 169 | ||
| 169 | - | sudo gem install --version 1.5.8 asciidoctor | |
| 170 | 170 | sudo gem install concurrent-ruby | |
| 171 | 171 | ;; | |
| 172 | 172 | esac | |