Skip to content

Commit

Permalink
docs: add GA conf to config (#18861)
Browse files Browse the repository at this point in the history
* docs: add GA conf to config

* add license and bump docusaurus
  • Loading branch information
villebro authored Feb 23, 2022
1 parent 9d5c050 commit 700829b
Show file tree
Hide file tree
Showing 3 changed files with 461 additions and 638 deletions.
4 changes: 4 additions & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ const config = {
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
googleAnalytics: {
trackingID: 'G-133LHD3B3N',
anonymizeIP: true,
},
}),
],
],
Expand Down
9 changes: 5 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "docs-v-2",
"version": "0.0.0",
"private": true,
"license": "Apache-2.0",
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
Expand All @@ -16,9 +17,9 @@
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@docusaurus/core": "2.0.0-beta.9",
"@docusaurus/plugin-client-redirects": "^2.0.0-beta.14",
"@docusaurus/preset-classic": "2.0.0-beta.9",
"@docusaurus/core": "^2.0.0-beta.15",
"@docusaurus/plugin-client-redirects": "^2.0.0-beta.15",
"@docusaurus/preset-classic": "^2.0.0-beta.15",
"@emotion/core": "^10.1.1",
"@emotion/styled": "^10.0.27",
"@mdx-js/react": "^1.6.21",
Expand All @@ -39,7 +40,7 @@
"url-loader": "^4.1.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.0.0-beta.9",
"@docusaurus/module-type-aliases": "^2.0.0-beta.15",
"@tsconfig/docusaurus": "^1.0.4",
"typescript": "^4.3.5"
},
Expand Down
Loading

0 comments on commit 700829b

Please sign in to comment.