clean-jsdoc-theme 5.1.0 → 5.1.1
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/publish.d.mts +6 -0
- package/dist/publish.d.ts +6 -0
- package/dist/publish.js +8 -3
- package/dist/publish.js.map +1 -1
- package/dist/publish.mjs +8 -3
- package/dist/publish.mjs.map +1 -1
- package/package.json +6 -6
package/dist/publish.mjs
CHANGED
|
@@ -107,7 +107,8 @@ var loadUtils = () => loadDep("@clean-jsdoc-theme/utils", [
|
|
|
107
107
|
"toExtractManifest",
|
|
108
108
|
"normalizeCollapsibleSidebarSections",
|
|
109
109
|
"unmatchedCollapsibleSections",
|
|
110
|
-
"topLevelSectionLabels"
|
|
110
|
+
"topLevelSectionLabels",
|
|
111
|
+
"normalizeScrollbar"
|
|
111
112
|
]);
|
|
112
113
|
var loadOra = async () => {
|
|
113
114
|
try {
|
|
@@ -1056,7 +1057,8 @@ async function publish(data, opts, tutorials) {
|
|
|
1056
1057
|
toExtractManifest,
|
|
1057
1058
|
normalizeCollapsibleSidebarSections,
|
|
1058
1059
|
unmatchedCollapsibleSections,
|
|
1059
|
-
topLevelSectionLabels
|
|
1060
|
+
topLevelSectionLabels,
|
|
1061
|
+
normalizeScrollbar
|
|
1060
1062
|
}
|
|
1061
1063
|
// Loaded sequentially (not Promise.all) so the spinner can step its label
|
|
1062
1064
|
// through each module — the evaluation of these large ESM bundles is the
|
|
@@ -1133,6 +1135,8 @@ async function publish(data, opts, tutorials) {
|
|
|
1133
1135
|
const clubSidebarItems = opts.clubSidebarItems === true;
|
|
1134
1136
|
const { value: collapsibleSidebarSections, warnings: collapsibleWarnings } = normalizeCollapsibleSidebarSections(opts.collapsibleSidebarSections);
|
|
1135
1137
|
collapsibleWarnings.forEach((w) => console.warn(`clean-jsdoc-theme: ${w}`));
|
|
1138
|
+
const { value: scrollbar, warnings: scrollbarWarnings } = normalizeScrollbar(opts.scrollbar);
|
|
1139
|
+
scrollbarWarnings.forEach((w) => console.warn(`clean-jsdoc-theme: ${w}`));
|
|
1136
1140
|
const playground = normalizePlayground(opts.playground);
|
|
1137
1141
|
const siteOptions = {
|
|
1138
1142
|
...pkg ? { pkg } : {},
|
|
@@ -1205,7 +1209,8 @@ async function publish(data, opts, tutorials) {
|
|
|
1205
1209
|
...customAssets.theme,
|
|
1206
1210
|
...footer ? { footer } : {},
|
|
1207
1211
|
...favicon ? { favicon: favicon.href } : {},
|
|
1208
|
-
...meta ? { meta } : {}
|
|
1212
|
+
...meta ? { meta } : {},
|
|
1213
|
+
...scrollbar ? { scrollbar } : {}
|
|
1209
1214
|
},
|
|
1210
1215
|
destination: absoluteDestination,
|
|
1211
1216
|
islandCacheDir,
|