mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
docs: update version description
This commit is contained in:
@@ -15,8 +15,8 @@ module.exports = {
|
||||
site: {
|
||||
defaultLang: 'en-US',
|
||||
versions: [
|
||||
{ label: 'Vant 1.x', link: '/vant/1.x/' },
|
||||
{ label: 'Vant 2.x', link: '/vant/' },
|
||||
{ label: 'Vant v1', link: '/vant/v1/' },
|
||||
{ label: 'Vant v2', link: '/vant/' },
|
||||
{ label: 'Vant Weapp', link: '/vant-weapp/' },
|
||||
],
|
||||
baiduAnalytics: {
|
||||
@@ -24,7 +24,7 @@ module.exports = {
|
||||
},
|
||||
htmlPluginOptions: {
|
||||
meta: {
|
||||
'docsearch:version': '3.x',
|
||||
'docsearch:version': 'v3',
|
||||
},
|
||||
},
|
||||
locales: {
|
||||
@@ -44,7 +44,7 @@ module.exports = {
|
||||
// apiKey: '90067aecdaa2c85220e2783cd305caac',
|
||||
// indexName: 'vant',
|
||||
// searchParameters: {
|
||||
// facetFilters: ['lang:zh-CN', 'version:3.x'],
|
||||
// facetFilters: ['lang:zh-CN', 'version:v3'],
|
||||
// },
|
||||
// transformItems(items) {
|
||||
// if (location.hostname !== 'youzan.github.io') {
|
||||
@@ -425,7 +425,7 @@ module.exports = {
|
||||
// apiKey: '90067aecdaa2c85220e2783cd305caac',
|
||||
// indexName: 'vant',
|
||||
// searchParameters: {
|
||||
// facetFilters: ['lang:en-US', 'version:3.x'],
|
||||
// facetFilters: ['lang:en-US', 'version:v3'],
|
||||
// },
|
||||
// },
|
||||
nav: [
|
||||
|
Reference in New Issue
Block a user