mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] add weapp logo link
This commit is contained in:
parent
dc1b0ee2e1
commit
bd92acc676
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
rm -rf docs/dist
|
||||
|
||||
npx cross-env NODE_ENV=production webpack --config build/webpack.doc.js
|
||||
npx cross-env NODE_ENV=production webpack --config build/webpack.site.js
|
||||
|
||||
superman-cdn cdn /vant ./docs/dist/*.js
|
||||
|
||||
|
@ -24,7 +24,17 @@ export default {
|
||||
text: 'En',
|
||||
from: 'zh-CN',
|
||||
to: 'en-US'
|
||||
}
|
||||
},
|
||||
logoLink: [
|
||||
{
|
||||
image: 'https://b.yzcdn.cn/vant/logo/weapp.svg',
|
||||
url: 'https://youzan.github.io/vant-weapp'
|
||||
},
|
||||
{
|
||||
image: 'https://b.yzcdn.cn/vant/logo/github.svg',
|
||||
url: github
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
nav: [
|
||||
@ -378,7 +388,13 @@ export default {
|
||||
text: '中文',
|
||||
from: 'en-US',
|
||||
to: 'zh-CN'
|
||||
}
|
||||
},
|
||||
logoLink: [
|
||||
{
|
||||
image: 'https://b.yzcdn.cn/vant/logo/github.svg',
|
||||
url: github
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
nav: [
|
||||
|
@ -69,7 +69,7 @@
|
||||
"@babel/preset-env": "^7.5.5",
|
||||
"@babel/preset-typescript": "^7.3.3",
|
||||
"@types/jest": "^24.0.16",
|
||||
"@vant/doc": "^2.3.6",
|
||||
"@vant/doc": "^2.4.0",
|
||||
"@vant/eslint-config": "^1.2.4",
|
||||
"@vant/markdown-loader": "^2.2.0",
|
||||
"@vant/markdown-vetur": "^1.0.0",
|
||||
|
@ -1202,10 +1202,10 @@
|
||||
lodash.unescape "4.0.1"
|
||||
semver "5.5.0"
|
||||
|
||||
"@vant/doc@^2.3.6":
|
||||
version "2.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@vant/doc/-/doc-2.3.6.tgz#821ac94bd0b19800458193e9f884e8c95a90634a"
|
||||
integrity sha512-G7iXa1BIK7JgoCYYWbOnZ4WQXE7FftXhRRC4Fqy69+OUjsQ/BQ0BZdJSbMiHSPJR2Olz7o67SgmfPqGWUHl2Sg==
|
||||
"@vant/doc@^2.4.0":
|
||||
version "2.4.0"
|
||||
resolved "https://registry.yarnpkg.com/@vant/doc/-/doc-2.4.0.tgz#d0d2d03e7ed831795ebdf9d840208614d4051057"
|
||||
integrity sha512-lahIcEFfdvVQuicQpgKoPIw5PxV868XAsl8N3tLFBJ0DvOoI7nJB1fYICbpWeC5DShTq2Y/UMhd/DYco+Qimjg==
|
||||
dependencies:
|
||||
cheerio "0.22.0"
|
||||
commander "^2.17.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user