Merge branch 'backstage:master' into milliehartnt123-create-ui-doc

This commit is contained in:
milliehartnt123
2026-01-05 12:42:21 -05:00
committed by GitHub
247 changed files with 3350 additions and 321 deletions
+3 -4
View File
@@ -27,17 +27,17 @@ function sidebarElementWithIndex(
},
children: Array<string | object>,
) {
const { label, description, differentiator } = element;
const { label, description, differentiator = '' } = element;
return {
type: 'category',
label: label,
label,
description,
link: {
type: 'generated-index',
title: label,
slug: `/${differentiator}${label
.toLowerCase()
.replace(/[^a-z0-9 _-]/gi, '-')}/generated-index`,
.replace(/[^a-z0-9]/g, '-')}/generated-index`,
},
items: children,
};
@@ -405,7 +405,6 @@ export default {
},
[
'plugins/index',
'plugins/existing-plugins',
'plugins/create-a-plugin',
'plugins/plugin-development',
'plugins/structure-of-a-plugin',