pict-docuserve 0.0.22 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/pict-docuserve.js
CHANGED
|
@@ -7632,8 +7632,8 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
7632
7632
|
}
|
|
7633
7633
|
|
|
7634
7634
|
// Bare hash link (e.g. "#fable") — docsify convention for the home/readme page.
|
|
7635
|
-
// Navigate to the first available
|
|
7636
|
-
//
|
|
7635
|
+
// Navigate to the first available content route in the sidebar, skipping
|
|
7636
|
+
// #/Home since the cover page is already displaying that.
|
|
7637
7637
|
if (pHref.match(/^#[^/]/)) {
|
|
7638
7638
|
let tmpSidebarGroups = this.pict.AppData.Docuserve.SidebarGroups;
|
|
7639
7639
|
if (tmpSidebarGroups) {
|
|
@@ -7641,13 +7641,12 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
7641
7641
|
let tmpModules = tmpSidebarGroups[g].Modules;
|
|
7642
7642
|
if (tmpModules) {
|
|
7643
7643
|
for (let m = 0; m < tmpModules.length; m++) {
|
|
7644
|
-
if (tmpModules[m].HasDocs && tmpModules[m].Route) {
|
|
7644
|
+
if (tmpModules[m].HasDocs && tmpModules[m].Route && tmpModules[m].Route !== '#/Home') {
|
|
7645
7645
|
return tmpModules[m].Route;
|
|
7646
7646
|
}
|
|
7647
7647
|
}
|
|
7648
7648
|
}
|
|
7649
|
-
|
|
7650
|
-
if (tmpSidebarGroups[g].Route) {
|
|
7649
|
+
if (tmpSidebarGroups[g].Route && tmpSidebarGroups[g].Route !== '#/Home') {
|
|
7651
7650
|
return tmpSidebarGroups[g].Route;
|
|
7652
7651
|
}
|
|
7653
7652
|
}
|