From b7fd8fe882c4b6381813c2ce2bd718c131547676 Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 31 Oct 2025 09:46:08 +0800 Subject: [PATCH 1/3] Remove unused Toc.init and fix link formatting --- modules/docs/app/VoloDocs.Web/Pages/Index.cshtml | 2 +- .../docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/docs/app/VoloDocs.Web/Pages/Index.cshtml b/modules/docs/app/VoloDocs.Web/Pages/Index.cshtml index daa4c90a5f..89cf1acaaa 100644 --- a/modules/docs/app/VoloDocs.Web/Pages/Index.cshtml +++ b/modules/docs/app/VoloDocs.Web/Pages/Index.cshtml @@ -7,7 +7,7 @@ { No projects found!
- See documentation to see how you can create a new one. + See documentation to see how you can create a new one.
} else diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js index 8fb3fb7f7b..626f694131 100644 --- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js @@ -71,8 +71,6 @@ return; } - Toc.init($myNav); - $('body').scrollspy({ target: $myNav, }); From 6979452864fd105e5902b173eba816b0e59be56b Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 31 Oct 2025 09:52:40 +0800 Subject: [PATCH 2/3] Handle additional hash in scrollToHashLink --- .../docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js index 626f694131..1186655907 100644 --- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js @@ -36,7 +36,7 @@ var scrollToHashLink = function () { var hash = window.location.hash; - if (!hash || hash === '#') { + if (!hash || hash === '#' || hash === '#gsc.tab=0') { return; } From 11221c3dc6686e684240d50decdfb791b8741951 Mon Sep 17 00:00:00 2001 From: Ma Liming Date: Fri, 31 Oct 2025 10:44:56 +0800 Subject: [PATCH 3/3] Update build-all.ps1 --- build/build-all.ps1 | 3 --- 1 file changed, 3 deletions(-) diff --git a/build/build-all.ps1 b/build/build-all.ps1 index c8b37ec33c..16f8bf037c 100644 --- a/build/build-all.ps1 +++ b/build/build-all.ps1 @@ -6,9 +6,6 @@ $full = $args[0] Write-Host $solutionPaths -dotnet workload install wasm-tools -dotnet workload install maui-tizen - foreach ($solutionPath in $solutionPaths) { $solutionAbsPath = (Join-Path $rootFolder $solutionPath) Set-Location $solutionAbsPath