From f7ca0ae765356e1e7c097249b6c5fd5a124f7acd Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 28 Mar 2025 15:11:51 +0100 Subject: [PATCH] doc: remove Corepack documentation page PR-URL: https://github.com/nodejs/node/pull/57663 Reviewed-By: Jordan Harband Reviewed-By: Darshan Sen Reviewed-By: Trivikram Kamat --- doc/api/corepack.md | 20 -------------------- test/doctool/test-make-doc.mjs | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 doc/api/corepack.md diff --git a/doc/api/corepack.md b/doc/api/corepack.md deleted file mode 100644 index b017f7570cb260..00000000000000 --- a/doc/api/corepack.md +++ /dev/null @@ -1,20 +0,0 @@ -# Corepack - - - - - - - -> Stability: 1 - Experimental - -**Corepack will no longer be distributed starting with Node.js v25.** - -Users currently depending on the bundled `corepack` executable from Node.js -can switch to using the userland-provided [corepack][] module. - -[corepack]: https://github.com/nodejs/corepack diff --git a/test/doctool/test-make-doc.mjs b/test/doctool/test-make-doc.mjs index db6bd00990e9ef..490fc93d6da738 100644 --- a/test/doctool/test-make-doc.mjs +++ b/test/doctool/test-make-doc.mjs @@ -45,7 +45,7 @@ const linkedHtmls = [...new Set(links)].map((link) => link.match(re)[1]) const expectedJsons = linkedHtmls .map((name) => name.replace('.html', '.json')); const expectedDocs = linkedHtmls.concat(expectedJsons); -const renamedDocs = ['corepack.json', 'corepack.html', 'policy.json', 'policy.html']; +const renamedDocs = ['policy.json', 'policy.html']; const skipedDocs = ['quic.json', 'quic.html']; // Test that all the relative links in the TOC match to the actual documents.