Browse Source

Merge pull request #24081 from abpframework/docs-vs.js.patch

Remove unused Toc.init and fix link formatting
pull/24083/head
Ma Liming 11 months ago
committed by GitHub
parent
commit
85bdd06725
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      build/build-all.ps1
  2. 2
      modules/docs/app/VoloDocs.Web/Pages/Index.cshtml
  3. 4
      modules/docs/src/Volo.Docs.Web/Pages/Documents/Shared/Scripts/vs.js

3
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

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

@ -7,7 +7,7 @@
{
<abp-alert alert-type="Warning">
<strong>No projects found!</strong><br />
See <a href=" https://abp.io/docs/latest/modules/docs">documentation</a> to see how you can create a new one.
See <a href="https://abp.io/docs/latest/modules/docs">documentation</a> to see how you can create a new one.
</abp-alert>
}
else

4
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;
}
@ -71,8 +71,6 @@
return;
}
Toc.init($myNav);
$('body').scrollspy({
target: $myNav,
});

Loading…
Cancel
Save