From 7b591701f86b827a1bf3b651e17ed8db0c6ede4d Mon Sep 17 00:00:00 2001 From: Nishaat Rajabali <12186256+nishaatr@users.noreply.github.com> Date: Wed, 31 Jul 2024 16:57:41 +0100 Subject: [PATCH 1/2] Add Hazelcast 5.5.0 support [DEVELOP][REL-295] (#377) Add Hazelcast and Management Center 5.5.0 support --- assembler-playbook-mc-5.5.yml | 30 +++++++++++++++++++++++++++++ assembler-playbook-platform-5-5.yml | 30 +++++++++++++++++++++++++++++ package.json | 2 ++ 3 files changed, 62 insertions(+) create mode 100644 assembler-playbook-mc-5.5.yml create mode 100644 assembler-playbook-platform-5-5.yml diff --git a/assembler-playbook-mc-5.5.yml b/assembler-playbook-mc-5.5.yml new file mode 100644 index 00000000..9e7900d5 --- /dev/null +++ b/assembler-playbook-mc-5.5.yml @@ -0,0 +1,30 @@ +site: + title: Documentation + url: https:/docs.hazelcast.com +content: + sources: + - url: https://github.com/hazelcast/management-center-docs + branches: [v/5.5] + start_path: docs +antora: + extensions: + - '@antora/pdf-extension' +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 +asciidoc: + attributes: + # Download images from kroki at build time (does not work for inline images) + kroki-fetch-diagram: true + idprefix: '' + # Separate anchor link names by dashes + idseparator: '-' + # Filter out content that doesn't apply to PDF such as embedded scripts + backend-pdf: true + hazelcast-cloud: Cloud + page-cloud-console: https://cloud.hazelcast.com/ + extensions: + - ./lib/tabs-block.js + - ./lib/swagger-ui-block-macro.js + - asciidoctor-kroki diff --git a/assembler-playbook-platform-5-5.yml b/assembler-playbook-platform-5-5.yml new file mode 100644 index 00000000..8c5e8f3e --- /dev/null +++ b/assembler-playbook-platform-5-5.yml @@ -0,0 +1,30 @@ +site: + title: Documentation + url: https:/docs.hazelcast.com +content: + sources: + - url: https://github.com/hazelcast/hz-docs + branches: [v/5.5] + start_path: docs +antora: + extensions: + - '@antora/pdf-extension' +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 +asciidoc: + attributes: + # Download images from kroki at build time (does not work for inline images) + kroki-fetch-diagram: true + idprefix: '' + # Separate anchor link names by dashes + idseparator: '-' + # Filter out content that doesn't apply to PDF such as embedded scripts + backend-pdf: true + hazelcast-cloud: Cloud + page-cloud-console: https://cloud.hazelcast.com/ + extensions: + - ./lib/tabs-block.js + - ./lib/swagger-ui-block-macro.js + - asciidoctor-kroki diff --git a/package.json b/package.json index 15c87667..f1b7d729 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,13 @@ "build": "antora --to-dir docs --fetch antora-playbook.yml && cp _redirects docs", "build-local": "antora --to-dir docs --fetch antora-playbook-local.yml", "check-links-local": "antora --fetch --to-dir test --log-level=error --log-failure-level=error --extension=@jcahills/antora-link-checker antora-playbook-local.yml", + "generate-pdfs-platform-5-4": "antora assembler-playbook-platform-5-5.yml", "generate-pdfs-platform-5-4": "antora assembler-playbook-platform-5-4.yml", "generate-pdfs-platform-5-3": "antora assembler-playbook-platform-5-3.yml", "generate-pdfs-platform-5-2": "antora assembler-playbook-platform-5-2.yml", "generate-pdfs-platform-5-1": "antora assembler-playbook-platform-5-1.yml", "generate-pdfs-platform-5-0": "antora assembler-playbook-platform-5-0.yml", + "generate-pdfs-mc-5-5": "antora assembler-playbook-mc-5.5.yml", "generate-pdfs-mc-5-4": "antora assembler-playbook-mc-5.4.yml", "generate-pdfs-mc-5-3": "antora assembler-playbook-mc-5.3.yml", "generate-pdfs-mc-5-2": "antora assembler-playbook-mc-5.2.yml", From 10e27d24df4db28a9fd1e27087e35def46d479ba Mon Sep 17 00:00:00 2001 From: Nishaat Rajabali <12186256+nishaatr@users.noreply.github.com> Date: Thu, 1 Aug 2024 13:20:33 +0100 Subject: [PATCH 2/2] Fix generate-pdfs-platform-5-4 introduced by previous commit [DEVELOP][REL-295] (#378) [PR-377](https://github.com/hazelcast/hazelcast-docs/pull/377) introduced 5.5 release but key was set to 5.4 and should have been 5.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f1b7d729..7331ebf3 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build": "antora --to-dir docs --fetch antora-playbook.yml && cp _redirects docs", "build-local": "antora --to-dir docs --fetch antora-playbook-local.yml", "check-links-local": "antora --fetch --to-dir test --log-level=error --log-failure-level=error --extension=@jcahills/antora-link-checker antora-playbook-local.yml", - "generate-pdfs-platform-5-4": "antora assembler-playbook-platform-5-5.yml", + "generate-pdfs-platform-5-5": "antora assembler-playbook-platform-5-5.yml", "generate-pdfs-platform-5-4": "antora assembler-playbook-platform-5-4.yml", "generate-pdfs-platform-5-3": "antora assembler-playbook-platform-5-3.yml", "generate-pdfs-platform-5-2": "antora assembler-playbook-platform-5-2.yml",