From cc93e217ab5adb8af0bddfeff6081fab98fe9a1a Mon Sep 17 00:00:00 2001 From: Oliver Howell Date: Wed, 5 Jun 2024 16:19:57 +0100 Subject: [PATCH] DEX-132: update antora playbook to include swagger refs --- antora-playbook.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/antora-playbook.yml b/antora-playbook.yml index 2596a71aa..def02041e 100644 --- a/antora-playbook.yml +++ b/antora-playbook.yml @@ -19,6 +19,23 @@ ui: bundle: url: https://github.com/hazelcast/hazelcast-docs-ui/releases/latest/download/ui-bundle.zip #../hazelcast-docs-ui/build/ui-bundle.zip snapshot: true +antora: + extensions: + - require: '@djencks/antora-aggregate-collector' + trace: true + componentversions: + - name: hz-docs + version: '5.5-snapshot' + mappings: + - module: integrate + family: attachment + origin: + url: + include: + - '**/docs/rest' + branch: + includes: + - 'master' asciidoc: attributes: # Download images from kroki at build time (does not work for inline images) @@ -36,4 +53,6 @@ asciidoc: extensions: - ./docs-tabs-library/tabs-block.js - asciidoctor-kroki - - ./lib/swagger-ui-block-macro.js \ No newline at end of file + - ./lib/swagger-ui-block-macro.js + + \ No newline at end of file