Browse Source

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

pull/4155/head
Cyrus Goh 5 years ago
committed by Anton Kaliaev
parent
commit
36ba1a8494
3 changed files with 18 additions and 2 deletions
  1. +9
    -1
      docs/.vuepress/config.js
  2. +6
    -0
      docs/package-lock.json
  3. +3
    -1
      docs/package.json

+ 9
- 1
docs/.vuepress/config.js View File

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

+ 6
- 0
docs/package-lock.json 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",


+ 3
- 1
docs/package.json 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",


Loading…
Cancel
Save