mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-07 10:34:44 +00:00
docs: improve plugin inventory layout
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user