@salesforcedevs/dx-components 0.18.4 → 0.18.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.5",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"@types/debounce": "^1.2.0",
|
|
30
30
|
"@types/lodash.get": "^4.4.6"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "8179768cff3fe296ff2ca170647e262200097c6e"
|
|
33
33
|
}
|
|
@@ -284,8 +284,10 @@ export default class SidebarSearch extends LightningElement {
|
|
|
284
284
|
// discussion about this normalization here: https://salesforce-internal.slack.com/archives/C020S6784JX/p1639506238376600
|
|
285
285
|
|
|
286
286
|
const isOverview = clickUri.endsWith("/overview");
|
|
287
|
-
const
|
|
288
|
-
isOverview ||
|
|
287
|
+
const isSfDocsRoot =
|
|
288
|
+
isOverview ||
|
|
289
|
+
clickUri.endsWith("/references") ||
|
|
290
|
+
clickUri.endsWith("/guide");
|
|
289
291
|
|
|
290
292
|
const query = isOverview ? "" : `?q=${this.value}`;
|
|
291
293
|
let pathname;
|
|
@@ -293,7 +295,7 @@ export default class SidebarSearch extends LightningElement {
|
|
|
293
295
|
pathname = `/docs/${sfhtml_url__c}`;
|
|
294
296
|
} else {
|
|
295
297
|
const url = new URL(clickUri);
|
|
296
|
-
const extension =
|
|
298
|
+
const extension = isSfDocsRoot ? "" : ".html";
|
|
297
299
|
pathname = `${url.pathname}${extension}`;
|
|
298
300
|
}
|
|
299
301
|
|