From 13f68c96cd83dd8a913c5bfc953ac0d215f87d13 Mon Sep 17 00:00:00 2001 From: webmekanic Date: Wed, 9 Sep 2026 08:27:55 +0100 Subject: [PATCH 1/3] Fix: merge duplicate C#/.NET sidebar sections under Frameworks & runtimes --- src/frontend/.starlight-icons/safelist.json | 3 +++ .../config/sidebar/integrations.topics.ts | 22 +++++++------------ 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/src/frontend/.starlight-icons/safelist.json b/src/frontend/.starlight-icons/safelist.json index 9070882e5..edfa35ab7 100644 --- a/src/frontend/.starlight-icons/safelist.json +++ b/src/frontend/.starlight-icons/safelist.json @@ -29,6 +29,8 @@ "i-material-icon-theme:folder-controller-open", "i-material-icon-theme:folder-docs", "i-material-icon-theme:folder-docs-open", + "i-material-icon-theme:folder-kubernetes", + "i-material-icon-theme:folder-kubernetes-open", "i-material-icon-theme:folder-plugin", "i-material-icon-theme:folder-plugin-open", "i-material-icon-theme:folder-public", @@ -47,6 +49,7 @@ "i-material-icon-theme:markdown", "i-material-icon-theme:mdx", "i-material-icon-theme:next", + "i-material-icon-theme:nix", "i-material-icon-theme:nodejs", "i-material-icon-theme:nuget", "i-material-icon-theme:powershell", diff --git a/src/frontend/config/sidebar/integrations.topics.ts b/src/frontend/config/sidebar/integrations.topics.ts index 8d7edeba0..7ad83b7c0 100644 --- a/src/frontend/config/sidebar/integrations.topics.ts +++ b/src/frontend/config/sidebar/integrations.topics.ts @@ -1329,6 +1329,14 @@ export const integrationTopics: StarlightSidebarTopicsUserConfig = { 'zh-CN': 'C# 和 .NET', }, items: [ + { + label: 'Get started with apps by path', + slug: 'integrations/frameworks/dotnet/dotnet-get-started', + }, + { + label: 'Set up C# apps by path in the AppHost', + slug: 'integrations/frameworks/dotnet/dotnet-host', + }, { label: 'Project resources', slug: 'integrations/dotnet/project-resources' }, { label: 'C# file-based apps', slug: 'integrations/dotnet/csharp-file-based-apps' }, { label: 'Launch profiles', slug: 'integrations/dotnet/launch-profiles' }, @@ -1365,20 +1373,6 @@ export const integrationTopics: StarlightSidebarTopicsUserConfig = { }, ], }, - { - label: '.NET / C#', - collapsed: true, - items: [ - { - label: 'Get started', - slug: 'integrations/frameworks/dotnet/dotnet-get-started', - }, - { - label: 'Set up .NET / C# apps in the AppHost', - slug: 'integrations/frameworks/dotnet/dotnet-host', - }, - ], - }, { label: 'Go', collapsed: true, From b5a2a62f0cfc3a72f8f31609c9b6c1a2d77ba871 Mon Sep 17 00:00:00 2001 From: webmekanic Date: Wed, 9 Sep 2026 17:23:23 +0100 Subject: [PATCH 2/3] Clean:revert unrelated icon safelist regeneration --- src/frontend/.starlight-icons/safelist.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/frontend/.starlight-icons/safelist.json b/src/frontend/.starlight-icons/safelist.json index edfa35ab7..9070882e5 100644 --- a/src/frontend/.starlight-icons/safelist.json +++ b/src/frontend/.starlight-icons/safelist.json @@ -29,8 +29,6 @@ "i-material-icon-theme:folder-controller-open", "i-material-icon-theme:folder-docs", "i-material-icon-theme:folder-docs-open", - "i-material-icon-theme:folder-kubernetes", - "i-material-icon-theme:folder-kubernetes-open", "i-material-icon-theme:folder-plugin", "i-material-icon-theme:folder-plugin-open", "i-material-icon-theme:folder-public", @@ -49,7 +47,6 @@ "i-material-icon-theme:markdown", "i-material-icon-theme:mdx", "i-material-icon-theme:next", - "i-material-icon-theme:nix", "i-material-icon-theme:nodejs", "i-material-icon-theme:nuget", "i-material-icon-theme:powershell", From 29afcb98dbe97f9aa33f35f6bc8d442f35e204c2 Mon Sep 17 00:00:00 2001 From: webmekanic Date: Wed, 9 Sep 2026 17:30:27 +0100 Subject: [PATCH 3/3] fix: match sidebar label to page title for .NET get-started item --- src/frontend/config/sidebar/integrations.topics.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/frontend/config/sidebar/integrations.topics.ts b/src/frontend/config/sidebar/integrations.topics.ts index 7ad83b7c0..902cd0800 100644 --- a/src/frontend/config/sidebar/integrations.topics.ts +++ b/src/frontend/config/sidebar/integrations.topics.ts @@ -1330,7 +1330,7 @@ export const integrationTopics: StarlightSidebarTopicsUserConfig = { }, items: [ { - label: 'Get started with apps by path', + label: 'Get started with the .NET / C# app integration', slug: 'integrations/frameworks/dotnet/dotnet-get-started', }, { @@ -1346,8 +1346,14 @@ export const integrationTopics: StarlightSidebarTopicsUserConfig = { collapsed: true, items: [ { label: 'Get started', slug: 'integrations/dotnet/blazor-get-started' }, - { label: 'Set up Blazor hosting in the AppHost', slug: 'integrations/dotnet/blazor-hosting' }, - { label: 'Connect Blazor apps and APIs', slug: 'integrations/dotnet/blazor-connect' }, + { + label: 'Set up Blazor hosting in the AppHost', + slug: 'integrations/dotnet/blazor-hosting', + }, + { + label: 'Connect Blazor apps and APIs', + slug: 'integrations/dotnet/blazor-connect', + }, ], }, { label: '.NET MAUI', slug: 'integrations/dotnet/maui' },