diff --git a/.github/actions/validate/action.yml b/.github/actions/validate/action.yml index 8ae102db..6802385a 100644 --- a/.github/actions/validate/action.yml +++ b/.github/actions/validate/action.yml @@ -49,7 +49,7 @@ runs: shell: bash run: | npm i - npm i github:hazelcast/hazelcast-docs-tools#semver:2.4.1 + npm i github:hazelcast/hazelcast-docs-tools#semver:2.5.0 ./node_modules/.bin/load-global-playbook -r ${{ inputs.repository-name }} -b ${{ inputs.base-branch-name }} --log-level ${{ inputs.check-links-loader-log-level }} --skip-private-repos --enforce-global-sources ./node_modules/.bin/antora --fetch --to-dir test --log-level=warn --log-failure-level=warn --extension=./node_modules/hazelcast-docs-tools/antora-extensions/antora-link-checker-extension.js global-antora-playbook.yml diff --git a/antora-playbook-local.yml b/antora-playbook-local.yml index 58e8f05c..3f464622 100644 --- a/antora-playbook-local.yml +++ b/antora-playbook-local.yml @@ -220,7 +220,6 @@ ui: snapshot: true antora: extensions: -# - ./node_modules/hazelcast-docs-tools/antora-extensions/algolia-tags-extension.js - require: ./node_modules/hazelcast-docs-tools/antora-extensions/api-json.js tags: - Favorites diff --git a/antora-playbook.yml b/antora-playbook.yml index 0c5f4fc0..e93d231f 100644 --- a/antora-playbook.yml +++ b/antora-playbook.yml @@ -245,7 +245,6 @@ ui: static_files: [ netlify.toml ] antora: extensions: -# - ./node_modules/hazelcast-docs-tools/antora-extensions/algolia-tags-extension.js - require: ./node_modules/hazelcast-docs-tools/antora-extensions/api-json.js tags: - Favorites diff --git a/lib/algolia-tags-extension.js b/lib/algolia-tags-extension.js deleted file mode 100644 index 057578a4..00000000 --- a/lib/algolia-tags-extension.js +++ /dev/null @@ -1,144 +0,0 @@ -'use strict' - -/** - * Antora extension: algolia-tags - * - * Fetches all facet values for the `tags` facet from the Algolia search index, - * parses each tag as "{component}-{version}", and registers a Handlebars helper - * that returns a map of component name → sorted version strings. - * - * Helper: (get-algolia-versions [componentName]) - * - * With a component name — returns a sorted version strings array for HBS iteration: - * {{#each (get-algolia-versions page.component.name)}} {{this}} {{/each}} - * - * Without arguments — returns SafeString JSON of the full map for