docs: add GA for docs.tendermint.com (#4149)

This commit is contained in:
Cyrus Goh
2019-11-16 05:04:10 -08:00
committed by Anton Kaliaev
parent e71a2b161b
commit 36ba1a8494
3 changed files with 18 additions and 2 deletions

View File

@@ -141,5 +141,13 @@ module.exports = {
anchor: {
permalinkSymbol: ""
}
}
},
plugins: [
[
"@vuepress/google-analytics",
{
ga: "UA-51029217-11"
}
]
],
};

View File

@@ -1132,6 +1132,12 @@
"lodash.debounce": "^4.0.8"
}
},
"@vuepress/plugin-google-analytics": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@vuepress/plugin-google-analytics/-/plugin-google-analytics-1.2.0.tgz",
"integrity": "sha512-0zol5D4Efb5GKel7ADO/s65MLtKSLnOEGkeWzuipkWomSQPzP7TJ3+/RcYBnGdyBFHd1BSpTUHGK0b/IGwM3UA==",
"dev": true
},
"@vuepress/plugin-last-updated": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@vuepress/plugin-last-updated/-/plugin-last-updated-1.2.0.tgz",

View File

@@ -6,7 +6,9 @@
"dependencies": {
"vuepress-theme-cosmos": "^1.0.54"
},
"devDependencies": {},
"devDependencies": {
"@vuepress/plugin-google-analytics": "^1.2.0"
},
"scripts": {
"preserve": "./pre.sh",
"serve": "trap 'exit 0' SIGINT; vuepress dev",