Skip to content

Commit 85bdd06

Browse files
authored
Merge pull request #24081 from abpframework/docs-vs.js.patch
Remove unused Toc.init and fix link formatting
2 parents be80bf2 + 11221c3 commit 85bdd06

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

build/build-all.ps1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ $full = $args[0]
66

77
Write-Host $solutionPaths
88

9-
dotnet workload install wasm-tools
10-
dotnet workload install maui-tizen
11-
129
foreach ($solutionPath in $solutionPaths) {
1310
$solutionAbsPath = (Join-Path $rootFolder $solutionPath)
1411
Set-Location $solutionAbsPath

modules/docs/app/VoloDocs.Web/Pages/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
<abp-alert alert-type="Warning">
99
<strong>No projects found!</strong><br />
10-
See <a href=" https://abp.io/docs/latest/modules/docs">documentation</a> to see how you can create a new one.
10+
See <a href="https://abp.io/docs/latest/modules/docs">documentation</a> to see how you can create a new one.
1111
</abp-alert>
1212
}
1313
else

modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
var scrollToHashLink = function () {
3737
var hash = window.location.hash;
3838

39-
if (!hash || hash === '#') {
39+
if (!hash || hash === '#' || hash === '#gsc.tab=0') {
4040
return;
4141
}
4242

@@ -71,8 +71,6 @@
7171
return;
7272
}
7373

74-
Toc.init($myNav);
75-
7674
$('body').scrollspy({
7775
target: $myNav,
7876
});

0 commit comments

Comments
 (0)