From c94b7a4bbc2e9d4085e47634f4b2d23457634fd4 Mon Sep 17 00:00:00 2001 From: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 16:26:46 +0000 Subject: [PATCH] docs: improve plugin inventory layout --- scripts/generate-plugin-inventory-doc.mjs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/generate-plugin-inventory-doc.mjs b/scripts/generate-plugin-inventory-doc.mjs index f06a6b5dec6b..d2c36cb7eecc 100644 --- a/scripts/generate-plugin-inventory-doc.mjs +++ b/scripts/generate-plugin-inventory-doc.mjs @@ -77,7 +77,13 @@ function pluginReferencePath(id) { } function hasGeneratedReferencePage(record) { - return !SKIPPED_REFERENCE_PAGE_IDS.has(record.id); + if (!SKIPPED_REFERENCE_PAGE_IDS.has(record.id)) { + return true; + } + if (PLUGIN_DOC_ALIASES.has(record.id)) { + return false; + } + throw new Error(`skipped plugin reference page ${record.id} needs a plugin doc alias`); } function pluginInventoryHref(record) {