mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-07 13:09:45 +08:00
docs: remove search from v3 site (#10646)
This commit is contained in:
parent
95bee73624
commit
d5f8963d02
@ -46,26 +46,6 @@ export default {
|
||||
url: 'https://github.com/youzan/vant',
|
||||
},
|
||||
],
|
||||
searchConfig: {
|
||||
appId: 'BLI2GGOUL8',
|
||||
apiKey: '07cb725cd26aa496996de6cb8ab9b5cc',
|
||||
indexName: 'vant',
|
||||
searchParameters: {
|
||||
facetFilters: ['lang:zh-CN', 'version:v3'],
|
||||
},
|
||||
transformItems(items) {
|
||||
if (location.hostname !== 'youzan.github.io') {
|
||||
items.forEach((item) => {
|
||||
if (item.url) {
|
||||
item.url =
|
||||
item.url &&
|
||||
item.url.replace('youzan.github.io', location.hostname);
|
||||
}
|
||||
});
|
||||
}
|
||||
return items;
|
||||
},
|
||||
},
|
||||
nav: [
|
||||
{
|
||||
title: '开发指南',
|
||||
@ -490,14 +470,6 @@ export default {
|
||||
url: 'https://github.com/youzan/vant',
|
||||
},
|
||||
],
|
||||
searchConfig: {
|
||||
appId: 'BLI2GGOUL8',
|
||||
apiKey: '07cb725cd26aa496996de6cb8ab9b5cc',
|
||||
indexName: 'vant',
|
||||
searchParameters: {
|
||||
facetFilters: ['lang:en-US', 'version:v3'],
|
||||
},
|
||||
},
|
||||
nav: [
|
||||
{
|
||||
title: 'Essentials',
|
||||
|
Loading…
x
Reference in New Issue
Block a user