@uniweb/core 0.22.0 → 0.23.0
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/README.md +1 -1
- package/package.json +1 -1
- package/src/website.js +0 -18
package/README.md
CHANGED
package/package.json
CHANGED
package/src/website.js
CHANGED
|
@@ -1231,24 +1231,6 @@ export default class Website {
|
|
|
1231
1231
|
return `${this.basePath || ''}${path}`
|
|
1232
1232
|
}
|
|
1233
1233
|
|
|
1234
|
-
/**
|
|
1235
|
-
* Get search data for all pages
|
|
1236
|
-
* @deprecated Use getSearchConfig() and fetch the search index instead
|
|
1237
|
-
*/
|
|
1238
|
-
getSearchData() {
|
|
1239
|
-
return this.pages.map((page) => ({
|
|
1240
|
-
id: page.id,
|
|
1241
|
-
title: page.title,
|
|
1242
|
-
href: page.route,
|
|
1243
|
-
route: page.route,
|
|
1244
|
-
description: page.description,
|
|
1245
|
-
content: page
|
|
1246
|
-
.getPageBlocks()
|
|
1247
|
-
.map((b) => b.title)
|
|
1248
|
-
.filter(Boolean)
|
|
1249
|
-
.join('\n')
|
|
1250
|
-
}))
|
|
1251
|
-
}
|
|
1252
1234
|
|
|
1253
1235
|
// ─────────────────────────────────────────────────────────────────
|
|
1254
1236
|
// Page Hierarchy API (for navigation components)
|