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 1f1d07cb9a..c9bfb3e18f 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 @@ -34,7 +34,7 @@ var scrollToHashLink = function () { var hash = window.location.hash; - if (!hash || hash === '#') { + if (!hash || hash === '#' || hash === '#gsc.tab=0') { return; } @@ -69,8 +69,6 @@ return; } - Toc.init($myNav); - $('body').scrollspy({ target: $myNav, offset:100