docs: improve plugin inventory layout

This commit is contained in:
clawsweeper
2026-06-06 16:26:46 +00:00
parent ced9121057
commit c94b7a4bbc

View File

@@ -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) {