@aigne/doc-smith 0.9.3-beta → 0.9.3-beta.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.3-beta.1](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.9.3-beta...v0.9.3-beta.1) (2025-11-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add load-sources utility and enhance document publishing with icon mapping ([#303](https://github.com/AIGNE-io/aigne-doc-smith/issues/303)) ([243928c](https://github.com/AIGNE-io/aigne-doc-smith/commit/243928c5330171e63b085de1d859246944f4230a))
|
|
9
|
+
|
|
3
10
|
## [0.9.3-beta](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.9.2...v0.9.3-beta) (2025-11-13)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -34,6 +34,7 @@ export default async function publishDocs(
|
|
|
34
34
|
projectDesc,
|
|
35
35
|
projectLogo,
|
|
36
36
|
translatedMetadata,
|
|
37
|
+
originalDocumentStructure,
|
|
37
38
|
"with-branding": withBrandingOption,
|
|
38
39
|
},
|
|
39
40
|
options,
|
|
@@ -233,6 +234,13 @@ export default async function publishDocs(
|
|
|
233
234
|
updateBranding({ appUrl: discussKitUrl, projectInfo, accessToken, finalPath });
|
|
234
235
|
}
|
|
235
236
|
|
|
237
|
+
const iconMap = {};
|
|
238
|
+
for (const item of originalDocumentStructure) {
|
|
239
|
+
if (item.icon) {
|
|
240
|
+
iconMap[item.title] = item.icon;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
236
244
|
// Construct boardMeta object
|
|
237
245
|
const boardMeta = {
|
|
238
246
|
category: config?.documentPurpose || [],
|
|
@@ -264,6 +272,7 @@ export default async function publishDocs(
|
|
|
264
272
|
mediaFolder: rawDocsDir,
|
|
265
273
|
cacheFilePath: publishCacheFilePath,
|
|
266
274
|
boardMeta,
|
|
275
|
+
iconMap,
|
|
267
276
|
});
|
|
268
277
|
|
|
269
278
|
// Save values to config.yaml if publish was successful
|