diff --git a/scripts/sitemap.ts b/scripts/sitemap.ts index a6bd139..38ffeab 100644 --- a/scripts/sitemap.ts +++ b/scripts/sitemap.ts @@ -32,7 +32,11 @@ const sitemap = [ `${baseUrl}/api/matter-errors`, `${baseUrl}/api/matter-devices`, `${baseUrl}/api/matter-clusters`, - `${baseUrl}/config-schema`, + `${baseUrl}/config-screen/overview`, + `${baseUrl}/config-screen/schema`, + `${baseUrl}/config-screen/schema-examples`, + `${baseUrl}/config-screen/custom-ui`, + `${baseUrl}/config-screen/custom-ui-examples`, `${baseUrl}/categories`, ] diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 9f1d8fc..95bfd79 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -49,6 +49,22 @@ export const routes: Routes = [ path: 'matter-device-type', redirectTo: 'matter-device-type/AirQualitySensor', }, + // The config screen section moved from two flat pages to /config-screen/* in + // 2026-08 - the old urls are linked from wikis, plugin READMEs and issues, + // so they redirect rather than 404. + { + path: 'config-schema', + redirectTo: 'config-screen/schema', + }, + { + path: 'custom-plugin-ui', + redirectTo: 'config-screen/custom-ui', + }, + { + path: 'config-screen', + pathMatch: 'full', + redirectTo: 'config-screen/overview', + }, { path: 'api', loadComponent: () => diff --git a/src/app/sidebar/sidebar.component.html b/src/app/sidebar/sidebar.component.html index 44f50fa..a479a3d 100644 --- a/src/app/sidebar/sidebar.component.html +++ b/src/app/sidebar/sidebar.component.html @@ -180,19 +180,39 @@ + + + + + + + +