From a628b9dc7b471d3d2d0d4cba44aa681cef455881 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 2 Sep 2024 12:39:35 +0300 Subject: [PATCH 01/46] latest supported platform --- docs/antora.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/antora.yml b/docs/antora.yml index 23e5cea8..baeab70a 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -16,7 +16,7 @@ asciidoc: snapshot: true javasource: ROOT:example$ page-latest-supported-imdg: '4.2' - page-latest-supported-hazelcast: '5.5.0' + page-latest-supported-hazelcast: '5.5' page-toclevels: 1 experimental: true nav: From fbbca5145ab6fb7e28102b6508887f48e4806416 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 2 Sep 2024 14:28:32 +0300 Subject: [PATCH 02/46] include version branches --- check-links-playbook.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/check-links-playbook.yml b/check-links-playbook.yml index d493c8d8..3fe83e1d 100644 --- a/check-links-playbook.yml +++ b/check-links-playbook.yml @@ -8,7 +8,7 @@ site: docsearch_api: 'ef7bd9485eafbd75d6e8425949eda1f5' docsearch_index: 'prod_hazelcast_docs' content: - sources: + sources: - url: . branches: HEAD start_path: docs @@ -16,7 +16,7 @@ content: branches: [main] start_paths: [home,tutorials] - url: https://github.com/hazelcast/hz-docs - branches: [main] + branches: [main, v/*] start_path: docs - url: https://github.com/hazelcast/imdg-docs branches: [main] @@ -151,9 +151,9 @@ content: start_path: docs - url: https://github.com/hazelcast/clc-docs branches: main - start_path: docs + start_path: docs -ui: +ui: bundle: url: https://github.com/hazelcast/hazelcast-docs-ui/releases/download/v2.2/ui-bundle.zip #../hazelcast-docs-ui/build/ui-bundle.zip snapshot: true From ddbf81622653d9e97b0ababe9f732ee610ff7844 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 2 Sep 2024 14:32:20 +0300 Subject: [PATCH 03/46] include version branches --- check-links-playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-links-playbook.yml b/check-links-playbook.yml index 3fe83e1d..df23477b 100644 --- a/check-links-playbook.yml +++ b/check-links-playbook.yml @@ -10,7 +10,7 @@ site: content: sources: - url: . - branches: HEAD + branches: [main, v/*] start_path: docs - url: https://github.com/hazelcast/hazelcast-docs branches: [main] From 0e16ef58d342c8d316e999e7d34412e6e5976abc Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 2 Sep 2024 14:44:02 +0300 Subject: [PATCH 04/46] include version branches --- check-links-playbook.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check-links-playbook.yml b/check-links-playbook.yml index df23477b..1cb861a9 100644 --- a/check-links-playbook.yml +++ b/check-links-playbook.yml @@ -10,13 +10,13 @@ site: content: sources: - url: . - branches: [main, v/*] + branches: HEAD start_path: docs - url: https://github.com/hazelcast/hazelcast-docs branches: [main] start_paths: [home,tutorials] - url: https://github.com/hazelcast/hz-docs - branches: [main, v/*] + branches: [main, v/5.5] start_path: docs - url: https://github.com/hazelcast/imdg-docs branches: [main] From e68fc688cdd9de3ffd8553a671c436f19b7f225e Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 2 Sep 2024 14:54:58 +0300 Subject: [PATCH 05/46] include version branches --- check-links-playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-links-playbook.yml b/check-links-playbook.yml index 1cb861a9..483c5ee8 100644 --- a/check-links-playbook.yml +++ b/check-links-playbook.yml @@ -10,7 +10,7 @@ site: content: sources: - url: . - branches: HEAD + branches: [HEAD, v/5.5] start_path: docs - url: https://github.com/hazelcast/hazelcast-docs branches: [main] From 72d848218dfbd490da671e101e98b367afe364b1 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 2 Sep 2024 15:28:09 +0300 Subject: [PATCH 06/46] correct 5.5. version MC --- check-links-playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-links-playbook.yml b/check-links-playbook.yml index 483c5ee8..28188cf9 100644 --- a/check-links-playbook.yml +++ b/check-links-playbook.yml @@ -10,7 +10,7 @@ site: content: sources: - url: . - branches: [HEAD, v/5.5] + branches: [main, v/5.5] start_path: docs - url: https://github.com/hazelcast/hazelcast-docs branches: [main] From 40ddbe9cd9a36636ade7a774efb5bcd8f5449ae1 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 2 Sep 2024 15:32:05 +0300 Subject: [PATCH 07/46] correct 5.5. version MC --- check-links-playbook.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/check-links-playbook.yml b/check-links-playbook.yml index 28188cf9..22906171 100644 --- a/check-links-playbook.yml +++ b/check-links-playbook.yml @@ -10,7 +10,10 @@ site: content: sources: - url: . - branches: [main, v/5.5] + branches: HEAD + start_path: docs + - url: https://github.com/hazelcast/management-center-docs + branches: [v/5.5] start_path: docs - url: https://github.com/hazelcast/hazelcast-docs branches: [main] From e62a1ce0cd48469fcdd94ca12c9b0afe3aca6e5a Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Tue, 10 Dec 2024 13:42:30 +0200 Subject: [PATCH 08/46] add orphan pages checker --- .github/workflows/validate.yml | 3 + .../modules/getting-started/partials/nav.adoc | 2 +- orphan-pages-checker.js | 107 ++++++++++++++++++ package.json | 1 + 4 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 orphan-pages-checker.js diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 917cfa66..6c634839 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,3 +15,6 @@ jobs: uses: actions/checkout@v4 - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main + - name: Check orphan pages + shell: bash + run: npm run check-orphan-pages diff --git a/docs/modules/getting-started/partials/nav.adoc b/docs/modules/getting-started/partials/nav.adoc index 75d2c922..3502220e 100644 --- a/docs/modules/getting-started/partials/nav.adoc +++ b/docs/modules/getting-started/partials/nav.adoc @@ -6,4 +6,4 @@ ** User Interface Overview *** xref:getting-started:user-interface.adoc[Top Bar and Side Bar] *** xref:getting-started:graphs.adoc[] -*** xref:getting-started:tables.adoc[] \ No newline at end of file +*** xref:getting-started:tables.adoc[] diff --git a/orphan-pages-checker.js b/orphan-pages-checker.js new file mode 100644 index 00000000..38ca6234 --- /dev/null +++ b/orphan-pages-checker.js @@ -0,0 +1,107 @@ +// @TODO: if we go with this approach, we DEFINITELY need an npm package +// containing all our helper extensions and scripts +// it can be just a single package (e.g. "hazelcast-antora-helpers") to simplify things +// the scripts can be then imported like `const { checkOrphanLinks } = require('hazelcast-antora-helpers');` + +const fs = require('fs'); +const path = require('path'); + +class NavLinksCollector { + static FILE_LINK_REGEXP = /xref:([\w,\s-]+:)?([\w,\s-]+.adoc)/; + static CHILD_NAV_REGEXP = /include::([\w,\s-]+):partial\$nav.adoc/; + + // @TODO: use hashmap or dictionary to optimize + nav = []; + + constructor(rootNavUrl) { + this.nav = this.readNavFile(rootNavUrl, 'ROOT'); + } + + /** + * + * @param filename - name of the .adoc file + * @param urlModule - the part of the URL in the nav file before filename. It can be a module name or blank. + * if it's blank, it means that antora builder will look up the page in twp places: + * in "ROOT" or in the current module + * @param navModule - the directory name of the current nav.adoc file + * @returns {String[]} - Strings with page URLs + */ + static buildFileUrl(filename, urlModule, navModule) { + const result = []; + if (urlModule) { + result.push(path.join('docs', 'modules', urlModule, 'pages', filename)); + } else { + // check if there is no urlModule, then it means, that the page can either be in "ROOT" or in the current module + // that's why we are adding both possibilities to the list + if (navModule !== 'ROOT') { + result.push(path.join('docs', 'modules', 'ROOT', 'pages', filename)); + } + result.push(path.join('docs', 'modules', navModule, 'pages', filename)); + } + return result; + } + + static buildChildNavUrl( navModule) { + // check if module is NULL, then use navModule instead + return `./docs/modules/${navModule}/partials/nav.adoc`; + } + + readNavFile(url, navModule) { + const nav = []; + try { + const lines = fs.readFileSync(url, 'utf-8').split('\n'); + + for (const line of lines) { + const match = line.match(NavLinksCollector.FILE_LINK_REGEXP); + if (match) { + const filename = match[2]; + // trim the ending ":" + const fileModule = match[1]?.slice(0, -1); + nav.push(...NavLinksCollector.buildFileUrl(filename, fileModule, navModule)); + } else if (NavLinksCollector.CHILD_NAV_REGEXP.test(line)) { + const match = line.match(NavLinksCollector.CHILD_NAV_REGEXP); + const childNavModule = match[1]; + const childNav = this.readNavFile(NavLinksCollector.buildChildNavUrl(childNavModule), childNavModule); + nav.push(...childNav); + } + } + + } catch (err) { + console.error(err); + } + return nav; + } +} + +function iteratePageFiles(navPages) { + const orphanPages = []; + const rootDir = path.join('docs', 'modules'); + fs.readdirSync(rootDir).forEach((moduleDir) => { + const moduleUrl = path.join(rootDir, moduleDir); + if (fs.statSync(moduleUrl).isDirectory()) { + fs.readdirSync(path.join(moduleUrl, 'pages')).forEach((file) => { + const fileUrl = path.join(moduleUrl, 'pages', file); + if (!navPages.includes(fileUrl)) { + orphanPages.push(fileUrl); + } + }); + } + }); + return orphanPages; +} + +function main() { + // 1. Parse nav files and create a depth-first-traversal array of the page file links + const linksCollector = new NavLinksCollector('./docs/modules/ROOT/nav.adoc'); + // 2. Iterate recursively over all {module}/pages and lookup it in the navigation tree + const orphanPages = iteratePageFiles(linksCollector.nav); + + if (orphanPages.length === 0) { + console.log('No orphan pages detected. YAY!'); + } else { + console.warn('The following orphan pages were detected:'); + console.warn(orphanPages); + } +} + +main(); diff --git a/package.json b/package.json index ce7448e3..c4c351ed 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "scripts": { "build": "antora --to-dir docs --fetch antora-playbook.yml", "build-local": "antora --to-dir test --fetch antora-playbook-local.yml", + "check-orphan-pages": "node orphan-pages-checker.js", "serve": "serve test", "expose": "ngrok http 5000" }, From c8f45ffa1df0fc78a515912fef29808b774ac7bf Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Wed, 11 Dec 2024 11:21:03 +0200 Subject: [PATCH 09/46] add orphan pages checker --- orphan-pages-checker.js | 107 ---------------------------------------- package-lock.json | 72 +++++++++++++++++++++++++++ package.json | 3 +- 3 files changed, 74 insertions(+), 108 deletions(-) delete mode 100644 orphan-pages-checker.js diff --git a/orphan-pages-checker.js b/orphan-pages-checker.js deleted file mode 100644 index 38ca6234..00000000 --- a/orphan-pages-checker.js +++ /dev/null @@ -1,107 +0,0 @@ -// @TODO: if we go with this approach, we DEFINITELY need an npm package -// containing all our helper extensions and scripts -// it can be just a single package (e.g. "hazelcast-antora-helpers") to simplify things -// the scripts can be then imported like `const { checkOrphanLinks } = require('hazelcast-antora-helpers');` - -const fs = require('fs'); -const path = require('path'); - -class NavLinksCollector { - static FILE_LINK_REGEXP = /xref:([\w,\s-]+:)?([\w,\s-]+.adoc)/; - static CHILD_NAV_REGEXP = /include::([\w,\s-]+):partial\$nav.adoc/; - - // @TODO: use hashmap or dictionary to optimize - nav = []; - - constructor(rootNavUrl) { - this.nav = this.readNavFile(rootNavUrl, 'ROOT'); - } - - /** - * - * @param filename - name of the .adoc file - * @param urlModule - the part of the URL in the nav file before filename. It can be a module name or blank. - * if it's blank, it means that antora builder will look up the page in twp places: - * in "ROOT" or in the current module - * @param navModule - the directory name of the current nav.adoc file - * @returns {String[]} - Strings with page URLs - */ - static buildFileUrl(filename, urlModule, navModule) { - const result = []; - if (urlModule) { - result.push(path.join('docs', 'modules', urlModule, 'pages', filename)); - } else { - // check if there is no urlModule, then it means, that the page can either be in "ROOT" or in the current module - // that's why we are adding both possibilities to the list - if (navModule !== 'ROOT') { - result.push(path.join('docs', 'modules', 'ROOT', 'pages', filename)); - } - result.push(path.join('docs', 'modules', navModule, 'pages', filename)); - } - return result; - } - - static buildChildNavUrl( navModule) { - // check if module is NULL, then use navModule instead - return `./docs/modules/${navModule}/partials/nav.adoc`; - } - - readNavFile(url, navModule) { - const nav = []; - try { - const lines = fs.readFileSync(url, 'utf-8').split('\n'); - - for (const line of lines) { - const match = line.match(NavLinksCollector.FILE_LINK_REGEXP); - if (match) { - const filename = match[2]; - // trim the ending ":" - const fileModule = match[1]?.slice(0, -1); - nav.push(...NavLinksCollector.buildFileUrl(filename, fileModule, navModule)); - } else if (NavLinksCollector.CHILD_NAV_REGEXP.test(line)) { - const match = line.match(NavLinksCollector.CHILD_NAV_REGEXP); - const childNavModule = match[1]; - const childNav = this.readNavFile(NavLinksCollector.buildChildNavUrl(childNavModule), childNavModule); - nav.push(...childNav); - } - } - - } catch (err) { - console.error(err); - } - return nav; - } -} - -function iteratePageFiles(navPages) { - const orphanPages = []; - const rootDir = path.join('docs', 'modules'); - fs.readdirSync(rootDir).forEach((moduleDir) => { - const moduleUrl = path.join(rootDir, moduleDir); - if (fs.statSync(moduleUrl).isDirectory()) { - fs.readdirSync(path.join(moduleUrl, 'pages')).forEach((file) => { - const fileUrl = path.join(moduleUrl, 'pages', file); - if (!navPages.includes(fileUrl)) { - orphanPages.push(fileUrl); - } - }); - } - }); - return orphanPages; -} - -function main() { - // 1. Parse nav files and create a depth-first-traversal array of the page file links - const linksCollector = new NavLinksCollector('./docs/modules/ROOT/nav.adoc'); - // 2. Iterate recursively over all {module}/pages and lookup it in the navigation tree - const orphanPages = iteratePageFiles(linksCollector.nav); - - if (orphanPages.length === 0) { - console.log('No orphan pages detected. YAY!'); - } else { - console.warn('The following orphan pages were detected:'); - console.warn(orphanPages); - } -} - -main(); diff --git a/package-lock.json b/package-lock.json index 11c12b0f..c78e9638 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@antora/cli": "^3.1.1", "@antora/site-generator": "^3.1.1", "asciidoctor-kroki": "^0.10.0", + "hazelcast-docs": "git+https://github.com/fantkolja/hazelcast-docs.git#feature/orphan-pages-checker", "ngrok": "^4.2.2", "serve": "^13.0.2" } @@ -30,6 +31,35 @@ "node": ">=16.0.0" } }, + "node_modules/@antora/assembler": { + "version": "1.0.0-alpha.11", + "resolved": "https://registry.npmjs.org/@antora/assembler/-/assembler-1.0.0-alpha.11.tgz", + "integrity": "sha512-9Ssvyhc4Q6q5oJQpXTXNHHcrJKUi9vvDcWTurLiZhP5GvCMYgukxXV3vkW/qye1+ePGPlDgtNQcgVJMaymh25A==", + "dev": true, + "dependencies": { + "@antora/expand-path-helper": "~2.0", + "@antora/run-command-helper": "~1.0", + "@asciidoctor/reducer": "~1.1", + "braces": "~3.0", + "js-yaml": "~4.1", + "picomatch": "~3.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@antora/assembler/node_modules/picomatch": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-3.0.1.tgz", + "integrity": "sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/@antora/cli": { "version": "3.1.9", "resolved": "https://registry.npmjs.org/@antora/cli/-/cli-3.1.9.tgz", @@ -166,6 +196,18 @@ "node": ">=16.0.0" } }, + "node_modules/@antora/pdf-extension": { + "version": "1.0.0-alpha.11", + "resolved": "https://registry.npmjs.org/@antora/pdf-extension/-/pdf-extension-1.0.0-alpha.11.tgz", + "integrity": "sha512-c2EyOhWSjZt4tWWkDnScj3yExclkPUH8Hsp3kk9HWbDjNumptdNXdFtF5HaDVDlrDzyEOSORiqru1zbrIaYJdw==", + "dev": true, + "dependencies": { + "@antora/assembler": "1.0.0-alpha.11" + }, + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/@antora/playbook-builder": { "version": "3.1.9", "resolved": "https://registry.npmjs.org/@antora/playbook-builder/-/playbook-builder-3.1.9.tgz", @@ -193,6 +235,15 @@ "node": ">=16.0.0" } }, + "node_modules/@antora/run-command-helper": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@antora/run-command-helper/-/run-command-helper-1.0.0.tgz", + "integrity": "sha512-zMSrr28jbuAabcjM5YKZgQshv16TceAhe+F4xY0b+hsF+Nh4JgtJf7dPHfT6EDxwIyO3UAP0yjCv61JM1yohIw==", + "dev": true, + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/@antora/site-generator": { "version": "3.1.9", "resolved": "https://registry.npmjs.org/@antora/site-generator/-/site-generator-3.1.9.tgz", @@ -292,6 +343,15 @@ "yarn": ">=1.1.0" } }, + "node_modules/@asciidoctor/reducer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@asciidoctor/reducer/-/reducer-1.1.0.tgz", + "integrity": "sha512-9NG4F/RMPwzquIHnYAzn84b2Uam2oCIfOEPBFhTtYRrN1rY9IOq1sFAprxXLbDUcDkxI5DThV2jawpM88AunEQ==", + "dev": true, + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/@iarna/toml": { "version": "2.2.5", "resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz", @@ -1403,6 +1463,18 @@ "node": ">=4" } }, + "node_modules/hazelcast-docs": { + "version": "1.0.0", + "resolved": "git+ssh://git@github.com/fantkolja/hazelcast-docs.git#d8eca7ce969d5889a328d653b200eacb571a8d6b", + "dev": true, + "license": "ISC", + "dependencies": { + "@antora/pdf-extension": "^1.0.0-alpha.1" + }, + "bin": { + "check-orphan-pages": "bin/check-orphan-pages.js" + } + }, "node_modules/help-me": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/help-me/-/help-me-5.0.0.tgz", diff --git a/package.json b/package.json index c4c351ed..73e7f36a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "build": "antora --to-dir docs --fetch antora-playbook.yml", "build-local": "antora --to-dir test --fetch antora-playbook-local.yml", - "check-orphan-pages": "node orphan-pages-checker.js", + "check-orphan-pages": "check-orphan-pages", "serve": "serve test", "expose": "ngrok http 5000" }, @@ -15,6 +15,7 @@ "@antora/cli": "^3.1.1", "@antora/site-generator": "^3.1.1", "asciidoctor-kroki": "^0.10.0", + "hazelcast-docs": "git+https://github.com/fantkolja/hazelcast-docs.git#feature/orphan-pages-checker", "ngrok": "^4.2.2", "serve": "^13.0.2" } From 7dd40206a225de9bcab6778de42a2513d9795f57 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Wed, 11 Dec 2024 19:30:51 +0200 Subject: [PATCH 10/46] copy scripts from hazelcast-docs --- antora-playbook-local.yml | 4 +- antora-playbook.yml | 4 +- lib/swagger-ui-block-macro.js | 20 --------- lib/tabs-block.js | 80 ----------------------------------- package-lock.json | 72 +++---------------------------- package.json | 2 +- 6 files changed, 12 insertions(+), 170 deletions(-) delete mode 100644 lib/swagger-ui-block-macro.js delete mode 100644 lib/tabs-block.js diff --git a/antora-playbook-local.yml b/antora-playbook-local.yml index 217d65fe..ddc9cf13 100644 --- a/antora-playbook-local.yml +++ b/antora-playbook-local.yml @@ -36,5 +36,5 @@ asciidoc: docs-archive: 'https://hazelcast.org/imdg/download/archives/' hazelcast-cloud: Cloud extensions: - - ./lib/tabs-block.js - - ./lib/swagger-ui-block-macro.js + - ./node_modules/hazelcast-docs-tools/antora-macro/tabs-block.js + - ./node_modules/hazelcast-docs-tools/antora-macro/swagger-ui-block-macro.js diff --git a/antora-playbook.yml b/antora-playbook.yml index 9c94a45c..d593ae6e 100644 --- a/antora-playbook.yml +++ b/antora-playbook.yml @@ -35,5 +35,5 @@ asciidoc: docs-archive: 'https://hazelcast.org/imdg/download/archives/' hazelcast-cloud: Cloud extensions: - - ./lib/tabs-block.js - - ./lib/swagger-ui-block-macro.js + - ./node_modules/hazelcast-docs-tools/antora-macro/tabs-block.js + - ./node_modules/hazelcast-docs-tools/antora-macro/swagger-ui-block-macro.js diff --git a/lib/swagger-ui-block-macro.js b/lib/swagger-ui-block-macro.js deleted file mode 100644 index 1c497ce1..00000000 --- a/lib/swagger-ui-block-macro.js +++ /dev/null @@ -1,20 +0,0 @@ -const buildSwaggerUi = ({ specUrl }) => ` - - -` - -function blockSwaggerUiMacro ({ file }) { - return function () { - this.process((parent, specUrl) => { - specUrl = `${specUrl}` - const contentScripts = buildSwaggerUi({ specUrl }) - return this.createBlock(parent, 'pass', contentScripts) - }) - } -} - -function register (registry, context) { - registry.blockMacro('swagger_ui', blockSwaggerUiMacro(context)) -} - -module.exports.register = register diff --git a/lib/tabs-block.js b/lib/tabs-block.js deleted file mode 100644 index ae47e18d..00000000 --- a/lib/tabs-block.js +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright (c) 2018 OpenDevise, Inc. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -/** - * Extends the AsciiDoc syntax to support a tabset. The tabset is created from - * a dlist enclosed in an example block that is marked with the tabs style. - * - * Usage: - * - * [tabs] - * ==== - * Tab A:: - * + - * -- - * Contents of tab A. - * -- - * Tab B:: - * + - * -- - * Contents of tab B. - * -- - * ==== - * - * @author Dan Allen - */ -const IdSeparatorCh = '-' -const ExtraIdSeparatorsRx = /^-+|-+$|-(-)+/g -const InvalidIdCharsRx = /[^a-zA-Z0-9_]/g -const List = Opal.const_get_local(Opal.module(null, 'Asciidoctor'), 'List') -const ListItem = Opal.const_get_local(Opal.module(null, 'Asciidoctor'), 'ListItem') - -const generateId = (str, idx) => - `tabset${idx}_${str.toLowerCase().replace(InvalidIdCharsRx, IdSeparatorCh).replace(ExtraIdSeparatorsRx, '$1')}` - -function tabsBlock () { - this.onContext('example') - this.process((parent, reader, attrs) => { - const createHtmlFragment = (html) => this.createBlock(parent, 'pass', html) - const tabsetIdx = parent.getDocument().counter('idx-tabset') - const nodes = [] - nodes.push(createHtmlFragment('
')) - const container = this.parseContent(this.createBlock(parent, 'open'), reader) - const sourceTabs = container.getBlocks()[0] - if (!(sourceTabs && sourceTabs.getContext() === 'dlist' && sourceTabs.getItems().length)) return - const tabs = List.$new(parent, 'ulist') - tabs.addRole('tabs') - const panes = {} - sourceTabs.getItems().forEach(([[title], details]) => { - const tab = ListItem.$new(tabs) - tabs.$append(tab) - const id = generateId(title.getText(), tabsetIdx) - tab.text = `[[${id}]]${title.text}` - let blocks = details.getBlocks() - const numBlocks = blocks.length - if (numBlocks) { - if (blocks[0].context === 'open' && numBlocks === 1) blocks = blocks[0].getBlocks() - panes[id] = blocks.map((block) => (block.parent = parent) && block) - } - }) - nodes.push(tabs) - nodes.push(createHtmlFragment('
')) - Object.entries(panes).forEach(([id, blocks]) => { - nodes.push(createHtmlFragment(`
`)) - nodes.push(...blocks) - nodes.push(createHtmlFragment('
')) - }) - nodes.push(createHtmlFragment('
')) - nodes.push(createHtmlFragment('
')) - parent.blocks.push(...nodes) - }) -} - -function register (registry) { - registry.block('tabs', tabsBlock) -} - -module.exports.register = register diff --git a/package-lock.json b/package-lock.json index c78e9638..78ecbad3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@antora/cli": "^3.1.1", "@antora/site-generator": "^3.1.1", "asciidoctor-kroki": "^0.10.0", - "hazelcast-docs": "git+https://github.com/fantkolja/hazelcast-docs.git#feature/orphan-pages-checker", + "hazelcast-docs-tools": "git+https://github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha", "ngrok": "^4.2.2", "serve": "^13.0.2" } @@ -31,35 +31,6 @@ "node": ">=16.0.0" } }, - "node_modules/@antora/assembler": { - "version": "1.0.0-alpha.11", - "resolved": "https://registry.npmjs.org/@antora/assembler/-/assembler-1.0.0-alpha.11.tgz", - "integrity": "sha512-9Ssvyhc4Q6q5oJQpXTXNHHcrJKUi9vvDcWTurLiZhP5GvCMYgukxXV3vkW/qye1+ePGPlDgtNQcgVJMaymh25A==", - "dev": true, - "dependencies": { - "@antora/expand-path-helper": "~2.0", - "@antora/run-command-helper": "~1.0", - "@asciidoctor/reducer": "~1.1", - "braces": "~3.0", - "js-yaml": "~4.1", - "picomatch": "~3.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@antora/assembler/node_modules/picomatch": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-3.0.1.tgz", - "integrity": "sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, "node_modules/@antora/cli": { "version": "3.1.9", "resolved": "https://registry.npmjs.org/@antora/cli/-/cli-3.1.9.tgz", @@ -196,18 +167,6 @@ "node": ">=16.0.0" } }, - "node_modules/@antora/pdf-extension": { - "version": "1.0.0-alpha.11", - "resolved": "https://registry.npmjs.org/@antora/pdf-extension/-/pdf-extension-1.0.0-alpha.11.tgz", - "integrity": "sha512-c2EyOhWSjZt4tWWkDnScj3yExclkPUH8Hsp3kk9HWbDjNumptdNXdFtF5HaDVDlrDzyEOSORiqru1zbrIaYJdw==", - "dev": true, - "dependencies": { - "@antora/assembler": "1.0.0-alpha.11" - }, - "engines": { - "node": ">=16.0.0" - } - }, "node_modules/@antora/playbook-builder": { "version": "3.1.9", "resolved": "https://registry.npmjs.org/@antora/playbook-builder/-/playbook-builder-3.1.9.tgz", @@ -235,15 +194,6 @@ "node": ">=16.0.0" } }, - "node_modules/@antora/run-command-helper": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@antora/run-command-helper/-/run-command-helper-1.0.0.tgz", - "integrity": "sha512-zMSrr28jbuAabcjM5YKZgQshv16TceAhe+F4xY0b+hsF+Nh4JgtJf7dPHfT6EDxwIyO3UAP0yjCv61JM1yohIw==", - "dev": true, - "engines": { - "node": ">=16.0.0" - } - }, "node_modules/@antora/site-generator": { "version": "3.1.9", "resolved": "https://registry.npmjs.org/@antora/site-generator/-/site-generator-3.1.9.tgz", @@ -343,15 +293,6 @@ "yarn": ">=1.1.0" } }, - "node_modules/@asciidoctor/reducer": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@asciidoctor/reducer/-/reducer-1.1.0.tgz", - "integrity": "sha512-9NG4F/RMPwzquIHnYAzn84b2Uam2oCIfOEPBFhTtYRrN1rY9IOq1sFAprxXLbDUcDkxI5DThV2jawpM88AunEQ==", - "dev": true, - "engines": { - "node": ">=16.0.0" - } - }, "node_modules/@iarna/toml": { "version": "2.2.5", "resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz", @@ -1463,16 +1404,17 @@ "node": ">=4" } }, - "node_modules/hazelcast-docs": { + "node_modules/hazelcast-docs-tools": { "version": "1.0.0", - "resolved": "git+ssh://git@github.com/fantkolja/hazelcast-docs.git#d8eca7ce969d5889a328d653b200eacb571a8d6b", + "resolved": "git+ssh://git@github.com/hazelcast/hazelcast-docs-tools.git#7aad443c375e06a7d27d70680eeb3b089b2ff948", "dev": true, "license": "ISC", - "dependencies": { - "@antora/pdf-extension": "^1.0.0-alpha.1" - }, "bin": { "check-orphan-pages": "bin/check-orphan-pages.js" + }, + "engines": { + "node": ">=20.0.0", + "npm": ">=10.0.0" } }, "node_modules/help-me": { diff --git a/package.json b/package.json index 73e7f36a..caa244c7 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@antora/cli": "^3.1.1", "@antora/site-generator": "^3.1.1", "asciidoctor-kroki": "^0.10.0", - "hazelcast-docs": "git+https://github.com/fantkolja/hazelcast-docs.git#feature/orphan-pages-checker", + "hazelcast-docs-tools": "git+https://github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha", "ngrok": "^4.2.2", "serve": "^13.0.2" } From 040d05a5ab2709cde5b7bf95093f39755ae4bb96 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 16:05:58 +0200 Subject: [PATCH 11/46] copy scripts from hazelcast-docs --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 78ecbad3..0a87b88a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@antora/cli": "^3.1.1", "@antora/site-generator": "^3.1.1", "asciidoctor-kroki": "^0.10.0", - "hazelcast-docs-tools": "git+https://github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha", + "hazelcast-docs-tools": "git+ssh://git@github.com:hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha", "ngrok": "^4.2.2", "serve": "^13.0.2" } diff --git a/package.json b/package.json index caa244c7..9e9a8b96 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@antora/cli": "^3.1.1", "@antora/site-generator": "^3.1.1", "asciidoctor-kroki": "^0.10.0", - "hazelcast-docs-tools": "git+https://github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha", + "hazelcast-docs-tools": "git+ssh://git@github.com:hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha", "ngrok": "^4.2.2", "serve": "^13.0.2" } From fed0d909ceba5e5253cd77c09af8e3105512bdfe Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 16:17:49 +0200 Subject: [PATCH 12/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 6c634839..9a7290b0 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -13,6 +13,9 @@ jobs: steps: - name: Checkout Current Repo uses: actions/checkout@v4 + - name: "Create .npmrc" + run: | + echo "registry.npmjs.org/:_authToken=${secrets.GITHUB_TOKEN}" >> .npmrc - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 6471231d9e6ac3975bd21cbc6ad2192e97f171dc Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 16:20:15 +0200 Subject: [PATCH 13/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 9a7290b0..15b0a79b 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v4 - name: "Create .npmrc" run: | - echo "registry.npmjs.org/:_authToken=${secrets.GITHUB_TOKEN}" >> .npmrc + echo "registry.npmjs.org/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 96af6ace6ce1771fe07d4ce3bed36154460c3604 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 16:31:27 +0200 Subject: [PATCH 14/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 15b0a79b..69cfff1c 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -9,13 +9,12 @@ jobs: check-links: runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout Current Repo uses: actions/checkout@v4 - - name: "Create .npmrc" - run: | - echo "registry.npmjs.org/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From d7a45a8de6831d491c68a816e826d07c1c0e3f57 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 16:33:07 +0200 Subject: [PATCH 15/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 69cfff1c..927231f7 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout Current Repo From c529c48eb43435e10b65e735011beb72f6decbf4 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 16:35:02 +0200 Subject: [PATCH 16/46] copy scripts from hazelcast-docs --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9e9a8b96..caa244c7 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@antora/cli": "^3.1.1", "@antora/site-generator": "^3.1.1", "asciidoctor-kroki": "^0.10.0", - "hazelcast-docs-tools": "git+ssh://git@github.com:hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha", + "hazelcast-docs-tools": "git+https://github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha", "ngrok": "^4.2.2", "serve": "^13.0.2" } From aed3bc22697e8d018d8e5dc7a91346ec56660346 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 19:45:27 +0200 Subject: [PATCH 17/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 927231f7..d5c9e0e0 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -11,6 +11,7 @@ jobs: runs-on: ubuntu-latest env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ github.token }} steps: - name: Checkout Current Repo From 1ef1bb0e94e74dc767024b34b789663df2a5b8e3 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 19:46:21 +0200 Subject: [PATCH 18/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d5c9e0e0..1d9c36d8 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -14,6 +14,8 @@ jobs: GH_TOKEN: ${{ github.token }} steps: + - name: Test stuff + run: echo ${{ github.actor }} - name: Checkout Current Repo uses: actions/checkout@v4 - name: Check dead links From bb9fb5c659f7a6e090fc075895af535c87b07d21 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 19:48:14 +0200 Subject: [PATCH 19/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 4 ++-- package.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 1d9c36d8..6d91efff 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -14,10 +14,10 @@ jobs: GH_TOKEN: ${{ github.token }} steps: - - name: Test stuff - run: echo ${{ github.actor }} - name: Checkout Current Repo uses: actions/checkout@v4 + - name: Test install + run: npm i git+https://github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages diff --git a/package.json b/package.json index caa244c7..34b0f1a7 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ "@antora/cli": "^3.1.1", "@antora/site-generator": "^3.1.1", "asciidoctor-kroki": "^0.10.0", - "hazelcast-docs-tools": "git+https://github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha", "ngrok": "^4.2.2", "serve": "^13.0.2" } From 4ed99644f0ab376f74a8712539d11f3ef3c46200 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 19:50:32 +0200 Subject: [PATCH 20/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 6d91efff..0b001ad4 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install - run: npm i git+https://github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha + run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From c666e6baab8b88a1eeefb5e169e63f5b8c8fba28 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Thu, 12 Dec 2024 19:53:33 +0200 Subject: [PATCH 21/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 ++ package-lock.json | 5 +++-- package.json | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 0b001ad4..03e881e5 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -14,6 +14,8 @@ jobs: GH_TOKEN: ${{ github.token }} steps: + - name: Test echo + run: echo ${{ github.token }} - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install diff --git a/package-lock.json b/package-lock.json index 0a87b88a..4610d235 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,11 +8,13 @@ "name": "hazelcast-docs-playbook", "version": "1.0.0", "license": "ISC", + "dependencies": { + "hazelcast-docs-tools": "github:hazelcast/hazelcast-docs-tools#v0.0.1-alpha" + }, "devDependencies": { "@antora/cli": "^3.1.1", "@antora/site-generator": "^3.1.1", "asciidoctor-kroki": "^0.10.0", - "hazelcast-docs-tools": "git+ssh://git@github.com:hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha", "ngrok": "^4.2.2", "serve": "^13.0.2" } @@ -1407,7 +1409,6 @@ "node_modules/hazelcast-docs-tools": { "version": "1.0.0", "resolved": "git+ssh://git@github.com/hazelcast/hazelcast-docs-tools.git#7aad443c375e06a7d27d70680eeb3b089b2ff948", - "dev": true, "license": "ISC", "bin": { "check-orphan-pages": "bin/check-orphan-pages.js" diff --git a/package.json b/package.json index 34b0f1a7..bfa96a14 100644 --- a/package.json +++ b/package.json @@ -17,5 +17,8 @@ "asciidoctor-kroki": "^0.10.0", "ngrok": "^4.2.2", "serve": "^13.0.2" + }, + "dependencies": { + "hazelcast-docs-tools": "github:hazelcast/hazelcast-docs-tools#v0.0.1-alpha" } } From 4031d9e0d340016024506dde37b8768e0aaf7776 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Fri, 13 Dec 2024 14:52:34 +0200 Subject: [PATCH 22/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 03e881e5..b769fe4a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -19,7 +19,8 @@ jobs: - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install - run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha +# run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha + run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 7e3ef1635d2502cb63bd252cebb0cb1e8a70a967 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Fri, 13 Dec 2024 14:53:59 +0200 Subject: [PATCH 23/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index b769fe4a..88870308 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha - run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git + run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 3859dc8467a124444d66849f3f92770f1905cb94 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Fri, 13 Dec 2024 15:05:42 +0200 Subject: [PATCH 24/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 88870308..256d8c7b 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha - run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools + run: npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 15c0e2a0926998726ef795d741750633b37dc757 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Fri, 13 Dec 2024 15:15:06 +0200 Subject: [PATCH 25/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 256d8c7b..a8348696 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha - run: npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools + run: npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 2c519ff1c30ca2500b6ad7f568251d2e9a9c9844 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Fri, 13 Dec 2024 15:17:24 +0200 Subject: [PATCH 26/46] copy scripts from hazelcast-docs --- package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/package.json b/package.json index bfa96a14..34b0f1a7 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,5 @@ "asciidoctor-kroki": "^0.10.0", "ngrok": "^4.2.2", "serve": "^13.0.2" - }, - "dependencies": { - "hazelcast-docs-tools": "github:hazelcast/hazelcast-docs-tools#v0.0.1-alpha" } } From 563b83d69581ae3e65f87252715d3f0a98097afa Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Fri, 13 Dec 2024 15:18:45 +0200 Subject: [PATCH 27/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index a8348696..256d8c7b 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha - run: npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs + run: npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 3fb35e0cab2f15874ad695ee47f84b2e05de93a9 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Fri, 13 Dec 2024 15:21:15 +0200 Subject: [PATCH 28/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 256d8c7b..d911fa6b 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -19,8 +19,8 @@ jobs: - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install -# run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha run: npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools +# run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 51b64a708c4716a2012f777d745a825fd294bd02 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Fri, 13 Dec 2024 15:31:44 +0200 Subject: [PATCH 29/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d911fa6b..256d8c7b 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -19,8 +19,8 @@ jobs: - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install - run: npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha + run: npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 6fb951b370f6ac0ce6c578e91d647849749d80a1 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Fri, 13 Dec 2024 15:42:38 +0200 Subject: [PATCH 30/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 256d8c7b..53ee88af 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Test echo - run: echo ${{ github.token }} + run: npm -v - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install From 5325e9cb750d611880a0798e580c89255fdddd7b Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Fri, 13 Dec 2024 15:45:52 +0200 Subject: [PATCH 31/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 53ee88af..2485e31c 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -20,7 +20,9 @@ jobs: uses: actions/checkout@v4 - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha - run: npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools + run: | + npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs + npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From e34e6ccddb1899bf32c091df72f8acfbea5a67ea Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 09:40:20 +0200 Subject: [PATCH 32/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 2485e31c..806ca718 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -22,6 +22,7 @@ jobs: # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha run: | npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs + npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-cloud-frontend npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main From 5bbeb460c93f4ffc555d5a382d8b7880ce02de85 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 09:52:45 +0200 Subject: [PATCH 33/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 806ca718..21c880d5 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -21,8 +21,8 @@ jobs: - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha run: | - npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs - npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-cloud-frontend + npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs + npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-cloud-frontend npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main From 200532c3aa5065b87c14dad61d332df72d029ac9 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 15:06:39 +0200 Subject: [PATCH 34/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 21c880d5..e475e604 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -21,9 +21,9 @@ jobs: - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha run: | - npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs - npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-cloud-frontend - npm i git+https://${{ secrets.GITHUB_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools + npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-docs + npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-cloud-frontend + npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From aa1a4342fc7865e153023a034f07f018dac92c4c Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 15:08:10 +0200 Subject: [PATCH 35/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index e475e604..32a2722c 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -9,9 +9,6 @@ jobs: check-links: runs-on: ubuntu-latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_TOKEN: ${{ github.token }} steps: - name: Test echo @@ -22,7 +19,6 @@ jobs: # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha run: | npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-docs - npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-cloud-frontend npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main From 3a8de6fa9e261646a901e70184031bde0e074726 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 15:23:37 +0200 Subject: [PATCH 36/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 32a2722c..d91dd796 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -9,10 +9,12 @@ jobs: check-links: runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} steps: - name: Test echo - run: npm -v + run: gh auth status -a - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install From 0c5b00f9f6f027ff2e6587c873a3abaec475778a Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 15:29:11 +0200 Subject: [PATCH 37/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d91dd796..80a7b34f 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -21,7 +21,8 @@ jobs: # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha run: | npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-docs - npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools + npm i git+ssh://git@github.com:hazelcast/hazelcast-docs-tools.git +# npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 9e70daf3a5652e77957b7c09fdc2587b004d35fb Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 15:30:57 +0200 Subject: [PATCH 38/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 80a7b34f..92e81f55 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -13,8 +13,8 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} steps: - - name: Test echo - run: gh auth status -a +# - name: Test echo +# run: gh auth status -a - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install From 257499e0300d445c272ca2e419f0fd93bac3b7ab Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 15:33:46 +0200 Subject: [PATCH 39/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 92e81f55..60353c54 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -13,8 +13,8 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} steps: -# - name: Test echo -# run: gh auth status -a + - name: Test echo + run: gh auth login --with-token <<< ${{ secrets.GH_TOKEN }} - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install From 8dcd40774633093057ab0c179487b7f837b9bf10 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 15:34:23 +0200 Subject: [PATCH 40/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 60353c54..f6afa0bd 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -14,7 +14,9 @@ jobs: steps: - name: Test echo - run: gh auth login --with-token <<< ${{ secrets.GH_TOKEN }} + run: | + gh auth login --with-token <<< ${{ secrets.GH_TOKEN }} + gh auth status -a - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install From 93ac0c7e280c8023a9dc501912769df0af706874 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 15:44:25 +0200 Subject: [PATCH 41/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index f6afa0bd..6fe43320 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Test echo run: | - gh auth login --with-token <<< ${{ secrets.GH_TOKEN }} + echo "${{ secrets.GH_TOKEN }}" | gh auth login --with-token gh auth status -a - name: Checkout Current Repo uses: actions/checkout@v4 From 1b88863dd3d1227085c43f3e4adbad686e57ec9e Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 15:46:43 +0200 Subject: [PATCH 42/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 6fe43320..17de0f05 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Test echo run: | - echo "${{ secrets.GH_TOKEN }}" | gh auth login --with-token + echo ${{ secrets.GH_TOKEN }} | gh auth login --with-token gh auth status -a - name: Checkout Current Repo uses: actions/checkout@v4 From f66f682f65b009c3a195aff3829f7b21b0825408 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 15:56:35 +0200 Subject: [PATCH 43/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 17de0f05..222e443a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -9,22 +9,14 @@ jobs: check-links: runs-on: ubuntu-latest - env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} steps: - - name: Test echo - run: | - echo ${{ secrets.GH_TOKEN }} | gh auth login --with-token - gh auth status -a - name: Checkout Current Repo uses: actions/checkout@v4 - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha run: | - npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-docs - npm i git+ssh://git@github.com:hazelcast/hazelcast-docs-tools.git -# npm i git+https://${{ secrets.GH_TOKEN }}@github.com/hazelcast/hazelcast-docs-tools + npm i git+https://${{ secrets.GH_TOKEN_DOCS_TOOLS }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main - name: Check orphan pages From 88a819147f2be71ce2f98174ccc4b128179e5d54 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 16:50:11 +0200 Subject: [PATCH 44/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 222e443a..19183e07 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -16,6 +16,7 @@ jobs: - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha run: | + git config --global url."https://github.com/".insteadOf ssh://git@github.com/ npm i git+https://${{ secrets.GH_TOKEN_DOCS_TOOLS }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main From 2f892aef14dd66d72a7c4b827a09051d5fb68f67 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 18:24:18 +0200 Subject: [PATCH 45/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 19183e07..103eb378 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -16,7 +16,7 @@ jobs: - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha run: | - git config --global url."https://github.com/".insteadOf ssh://git@github.com/ + git config --global url."https://${{ secrets.GH_TOKEN_DOCS_TOOLS }}@github.com/".insteadOf ssh://git@github.com/ npm i git+https://${{ secrets.GH_TOKEN_DOCS_TOOLS }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main From 7d7acf161553bad4a46ad306d9e2328ef5b0b837 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Mon, 16 Dec 2024 18:28:01 +0200 Subject: [PATCH 46/46] copy scripts from hazelcast-docs --- .github/workflows/validate.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 103eb378..222e443a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -16,7 +16,6 @@ jobs: - name: Test install # run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha run: | - git config --global url."https://${{ secrets.GH_TOKEN_DOCS_TOOLS }}@github.com/".insteadOf ssh://git@github.com/ npm i git+https://${{ secrets.GH_TOKEN_DOCS_TOOLS }}@github.com/hazelcast/hazelcast-docs-tools - name: Check dead links uses: hazelcast/hazelcast-docs/.github/actions/validate@main