diff --git a/antora-playbook.yml b/antora-playbook.yml index 4e3814c..e98379f 100644 --- a/antora-playbook.yml +++ b/antora-playbook.yml @@ -38,6 +38,7 @@ asciidoc: - '@redpanda-data/docs-extensions-and-macros/asciidoc-extensions/add-line-numbers-highlights' antora: extensions: + - require: '@redpanda-data/docs-extensions-and-macros/extensions/modify-redirects' - require: '@redpanda-data/docs-extensions-and-macros/extensions/algolia-indexer/index' excludes: ['.thumbs','script', '.page-versions','.feedback-section','.banner-container'] - require: '@redpanda-data/docs-extensions-and-macros/extensions/unlisted-pages' diff --git a/local-antora-playbook.yml b/local-antora-playbook.yml index 1b43789..02ecd57 100644 --- a/local-antora-playbook.yml +++ b/local-antora-playbook.yml @@ -28,6 +28,7 @@ asciidoc: - '@redpanda-data/docs-extensions-and-macros/asciidoc-extensions/add-line-numbers-highlights' antora: extensions: + - require: '@redpanda-data/docs-extensions-and-macros/extensions/modify-redirects' - require: '@redpanda-data/docs-extensions-and-macros/extensions/unlisted-pages' - require: '@redpanda-data/docs-extensions-and-macros/extensions/add-global-attributes' - require: '@redpanda-data/docs-extensions-and-macros/extensions/validate-attributes' diff --git a/package-lock.json b/package-lock.json index 9bddd03..0d0f5f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -872,12 +872,12 @@ } }, "node_modules/@redpanda-data/docs-extensions-and-macros": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/@redpanda-data/docs-extensions-and-macros/-/docs-extensions-and-macros-3.2.1.tgz", - "integrity": "sha512-Tvlu+DFaGDHRg6UOToGuyNdpMVp/D2YU4bDBSaLL8UgNWzyEGk51AGFv305FlMsOfVHpEioJKgp00K4c8Lq6LQ==", + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/@redpanda-data/docs-extensions-and-macros/-/docs-extensions-and-macros-3.2.5.tgz", + "integrity": "sha512-v0Ixmw/PzUnb8TDITNASnT+OsRZRGtZm5m3yVt3lAgyhhd8rcnqJ1MlZKtuPPM5v2VRqL97xCsOr1YKPXyMGcA==", "dependencies": { - "@octokit/plugin-retry": "^4.1.3", - "@octokit/rest": "^19.0.7", + "@octokit/plugin-retry": "~4.1.3", + "@octokit/rest": "~19.0.7", "algoliasearch": "^4.17.0", "chalk": "4.1.2", "gulp": "^4.0.2", @@ -885,7 +885,8 @@ "html-entities": "2.3", "js-yaml": "^4.1.0", "lodash": "^4.17.21", - "node-html-parser": "5.4.2-0" + "node-html-parser": "5.4.2-0", + "semver": "^7.6.0" } }, "node_modules/@rollup/plugin-node-resolve": { @@ -6679,10 +6680,9 @@ "integrity": "sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==" }, "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -6708,7 +6708,6 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -8355,8 +8354,7 @@ "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/yargs": { "version": "7.1.2", diff --git a/preview-antora-playbook.yml b/preview-antora-playbook.yml index 2f4cc09..693e5b2 100644 --- a/preview-antora-playbook.yml +++ b/preview-antora-playbook.yml @@ -36,6 +36,7 @@ asciidoc: - '@redpanda-data/docs-extensions-and-macros/asciidoc-extensions/add-line-numbers-highlights' antora: extensions: + - require: '@redpanda-data/docs-extensions-and-macros/extensions/modify-redirects' - require: '@redpanda-data/docs-extensions-and-macros/extensions/unlisted-pages' - require: '@redpanda-data/docs-extensions-and-macros/extensions/add-global-attributes' - '@redpanda-data/docs-extensions-and-macros/extensions/version-fetcher/set-latest-version'