From e92acf5a5f462ee986198d1fb893ede79777799c Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 12 Feb 2024 16:34:36 -0700 Subject: [PATCH] register Antora Collector, the jetty block processor, and the Asciidoctor include processors when building site --- .github/workflows/publish-site.yml | 2 +- antora-playbook.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-site.yml b/.github/workflows/publish-site.yml index a258c3b..e079898 100644 --- a/.github/workflows/publish-site.yml +++ b/.github/workflows/publish-site.yml @@ -29,7 +29,7 @@ jobs: with: node-version: '18' - name: Generate Site - run: npx -y --package antora --package asciidoctor-kroki --package @antora/lunr-extension antora --stacktrace --extension @antora/lunr-extension --html-url-extension-style=indexify antora-playbook.yml + run: npx -y --package antora --package @antora/collector-extension --package @antora/lunr-extension --package asciidoctor-kroki antora --stacktrace --extension @antora/collector-extension --extension @antora/lunr-extension --html-url-extension-style=indexify antora-playbook.yml - name: Upload Artifact uses: actions/upload-pages-artifact@v2 - name: Deploy Artifact to GitHub Pages diff --git a/antora-playbook.yml b/antora-playbook.yml index 4a8ff0f..a91cb99 100644 --- a/antora-playbook.yml +++ b/antora-playbook.yml @@ -28,6 +28,9 @@ asciidoc: page-pagination: '' extensions: - ./lib/feed-block-macro.js + - ./lib/jetty-block.js + - ./lib/skip-include-processor.js + - ./lib/absolute-path-include-processor.js ui: bundle: url: https://github.com/webtide/jetty.website/releases/download/ui-prod-latest/ui-bundle.zip