Skip to content

Commit

Permalink
Added gtag config
Browse files Browse the repository at this point in the history
  • Loading branch information
m0hamad committed Aug 22, 2024
1 parent ea7ff69 commit eaa4bda
Show file tree
Hide file tree
Showing 3 changed files with 218 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ const config: Config = {
theme: {
customCss: './src/css/custom.css',
},
gtag: {
trackingID: "G-M971D063B9",
},
},
],
],
Expand Down
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"dependencies": {
"@docusaurus/core": "3.3.2",
"@docusaurus/plugin-google-gtag": "^3.5.2",
"@docusaurus/preset-classic": "3.3.2",
"@easyops-cn/docusaurus-search-local": "^0.41.0",
"@mdx-js/react": "^3.0.0",
Expand Down
217 changes: 214 additions & 3 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1314,6 +1314,80 @@
webpack-merge "^5.9.0"
webpackbar "^5.0.2"

"@docusaurus/[email protected]":
version "3.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/core/-/core-3.5.2.tgz#3adedb90e7b6104592f1231043bd6bf91680c39c"
integrity sha512-4Z1WkhCSkX4KO0Fw5m/Vuc7Q3NxBG53NE5u59Rs96fWkMPZVSrzEPP16/Nk6cWb/shK7xXPndTmalJtw7twL/w==
dependencies:
"@babel/core" "^7.23.3"
"@babel/generator" "^7.23.3"
"@babel/plugin-syntax-dynamic-import" "^7.8.3"
"@babel/plugin-transform-runtime" "^7.22.9"
"@babel/preset-env" "^7.22.9"
"@babel/preset-react" "^7.22.5"
"@babel/preset-typescript" "^7.22.5"
"@babel/runtime" "^7.22.6"
"@babel/runtime-corejs3" "^7.22.6"
"@babel/traverse" "^7.22.8"
"@docusaurus/cssnano-preset" "3.5.2"
"@docusaurus/logger" "3.5.2"
"@docusaurus/mdx-loader" "3.5.2"
"@docusaurus/utils" "3.5.2"
"@docusaurus/utils-common" "3.5.2"
"@docusaurus/utils-validation" "3.5.2"
autoprefixer "^10.4.14"
babel-loader "^9.1.3"
babel-plugin-dynamic-import-node "^2.3.3"
boxen "^6.2.1"
chalk "^4.1.2"
chokidar "^3.5.3"
clean-css "^5.3.2"
cli-table3 "^0.6.3"
combine-promises "^1.1.0"
commander "^5.1.0"
copy-webpack-plugin "^11.0.0"
core-js "^3.31.1"
css-loader "^6.8.1"
css-minimizer-webpack-plugin "^5.0.1"
cssnano "^6.1.2"
del "^6.1.1"
detect-port "^1.5.1"
escape-html "^1.0.3"
eta "^2.2.0"
eval "^0.1.8"
file-loader "^6.2.0"
fs-extra "^11.1.1"
html-minifier-terser "^7.2.0"
html-tags "^3.3.1"
html-webpack-plugin "^5.5.3"
leven "^3.1.0"
lodash "^4.17.21"
mini-css-extract-plugin "^2.7.6"
p-map "^4.0.0"
postcss "^8.4.26"
postcss-loader "^7.3.3"
prompts "^2.4.2"
react-dev-utils "^12.0.1"
react-helmet-async "^1.3.0"
react-loadable "npm:@docusaurus/[email protected]"
react-loadable-ssr-addon-v5-slorber "^1.0.1"
react-router "^5.3.4"
react-router-config "^5.1.1"
react-router-dom "^5.3.4"
rtl-detect "^1.0.4"
semver "^7.5.4"
serve-handler "^6.1.5"
shelljs "^0.8.5"
terser-webpack-plugin "^5.3.9"
tslib "^2.6.0"
update-notifier "^6.0.2"
url-loader "^4.1.1"
webpack "^5.88.1"
webpack-bundle-analyzer "^4.9.0"
webpack-dev-server "^4.15.1"
webpack-merge "^5.9.0"
webpackbar "^5.0.2"

"@docusaurus/[email protected]":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@docusaurus/cssnano-preset/-/cssnano-preset-3.3.2.tgz#fb971b3e89fe6821721782124b430b2795faeb38"
Expand All @@ -1324,6 +1398,16 @@
postcss-sort-media-queries "^5.2.0"
tslib "^2.6.0"

"@docusaurus/[email protected]":
version "3.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/cssnano-preset/-/cssnano-preset-3.5.2.tgz#6c1f2b2f9656f978c4694c84ab24592b04dcfab3"
integrity sha512-D3KiQXOMA8+O0tqORBrTOEQyQxNIfPm9jEaJoALjjSjc2M/ZAWcUfPQEnwr2JB2TadHw2gqWgpZckQmrVWkytA==
dependencies:
cssnano-preset-advanced "^6.1.2"
postcss "^8.4.38"
postcss-sort-media-queries "^5.2.0"
tslib "^2.6.0"

"@docusaurus/[email protected]":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@docusaurus/logger/-/logger-3.3.2.tgz#f43f7e08d4f5403be6a7196659490053e248325f"
Expand All @@ -1332,6 +1416,14 @@
chalk "^4.1.2"
tslib "^2.6.0"

"@docusaurus/[email protected]":
version "3.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/logger/-/logger-3.5.2.tgz#1150339ad56844b30734115c19c580f3b25cf5ed"
integrity sha512-LHC540SGkeLfyT3RHK3gAMK6aS5TRqOD4R72BEU/DE2M/TY8WwEUAMY576UUc/oNJXv8pGhBmQB6N9p3pt8LQw==
dependencies:
chalk "^4.1.2"
tslib "^2.6.0"

"@docusaurus/[email protected]":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@docusaurus/mdx-loader/-/mdx-loader-3.3.2.tgz#424e3ffac8bcdeba27d8c0eb84a04736702fc187"
Expand Down Expand Up @@ -1362,6 +1454,36 @@
vfile "^6.0.1"
webpack "^5.88.1"

"@docusaurus/[email protected]":
version "3.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/mdx-loader/-/mdx-loader-3.5.2.tgz#99781641372c5037bcbe09bb8ade93a0e0ada57d"
integrity sha512-ku3xO9vZdwpiMIVd8BzWV0DCqGEbCP5zs1iHfKX50vw6jX8vQo0ylYo1YJMZyz6e+JFJ17HYHT5FzVidz2IflA==
dependencies:
"@docusaurus/logger" "3.5.2"
"@docusaurus/utils" "3.5.2"
"@docusaurus/utils-validation" "3.5.2"
"@mdx-js/mdx" "^3.0.0"
"@slorber/remark-comment" "^1.0.0"
escape-html "^1.0.3"
estree-util-value-to-estree "^3.0.1"
file-loader "^6.2.0"
fs-extra "^11.1.1"
image-size "^1.0.2"
mdast-util-mdx "^3.0.0"
mdast-util-to-string "^4.0.0"
rehype-raw "^7.0.0"
remark-directive "^3.0.0"
remark-emoji "^4.0.0"
remark-frontmatter "^5.0.0"
remark-gfm "^4.0.0"
stringify-object "^3.3.0"
tslib "^2.6.0"
unified "^11.0.3"
unist-util-visit "^5.0.0"
url-loader "^4.1.1"
vfile "^6.0.1"
webpack "^5.88.1"

"@docusaurus/[email protected]":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@docusaurus/module-type-aliases/-/module-type-aliases-3.3.2.tgz#02534449d08d080fd52dc9e046932bb600c38b01"
Expand Down Expand Up @@ -1467,6 +1589,17 @@
"@types/gtag.js" "^0.0.12"
tslib "^2.6.0"

"@docusaurus/plugin-google-gtag@^3.5.2":
version "3.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-3.5.2.tgz#60b5a9e1888c4fa16933f7c5cb5f2f2c31caad3a"
integrity sha512-lm8XL3xLkTPHFKKjLjEEAHUrW0SZBSHBE1I+i/tmYMBsjCcUB5UJ52geS5PSiOCFVR74tbPGcPHEV/gaaxFeSA==
dependencies:
"@docusaurus/core" "3.5.2"
"@docusaurus/types" "3.5.2"
"@docusaurus/utils-validation" "3.5.2"
"@types/gtag.js" "^0.0.12"
tslib "^2.6.0"

"@docusaurus/[email protected]":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-tag-manager/-/plugin-google-tag-manager-3.3.2.tgz#7ce4cf4da6ef177d63bd83beafc4a45428ff01e2"
Expand Down Expand Up @@ -1613,13 +1746,35 @@
webpack "^5.88.1"
webpack-merge "^5.9.0"

"@docusaurus/[email protected]":
version "3.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/types/-/types-3.5.2.tgz#058019dbeffbee2d412c3f72569e412a727f9608"
integrity sha512-N6GntLXoLVUwkZw7zCxwy9QiuEXIcTVzA9AkmNw16oc0AP3SXLrMmDMMBIfgqwuKWa6Ox6epHol9kMtJqekACw==
dependencies:
"@mdx-js/mdx" "^3.0.0"
"@types/history" "^4.7.11"
"@types/react" "*"
commander "^5.1.0"
joi "^17.9.2"
react-helmet-async "^1.3.0"
utility-types "^3.10.0"
webpack "^5.88.1"
webpack-merge "^5.9.0"

"@docusaurus/[email protected]", "@docusaurus/utils-common@^2 || ^3":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-common/-/utils-common-3.3.2.tgz#d17868a55a25186bfdb35de317a3878e867f2005"
integrity sha512-QWFTLEkPYsejJsLStgtmetMFIA3pM8EPexcZ4WZ7b++gO5jGVH7zsipREnCHzk6+eDgeaXfkR6UPaTt86bp8Og==
dependencies:
tslib "^2.6.0"

"@docusaurus/[email protected]":
version "3.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-common/-/utils-common-3.5.2.tgz#4d7f5e962fbca3e2239d80457aa0e4bd3d8f7e0a"
integrity sha512-i0AZjHiRgJU6d7faQngIhuHKNrszpL/SHQPgF1zH4H+Ij6E9NBYGy6pkcGWToIv7IVPbs+pQLh1P3whn0gWXVg==
dependencies:
tslib "^2.6.0"

"@docusaurus/[email protected]", "@docusaurus/utils-validation@^2 || ^3":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-validation/-/utils-validation-3.3.2.tgz#7109888d9c9b23eec787b41341809438f54c2aec"
Expand All @@ -1632,6 +1787,20 @@
js-yaml "^4.1.0"
tslib "^2.6.0"

"@docusaurus/[email protected]":
version "3.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-validation/-/utils-validation-3.5.2.tgz#1b2b2f02082781cc8ce713d4c85e88d6d2fc4eb3"
integrity sha512-m+Foq7augzXqB6HufdS139PFxDC5d5q2QKZy8q0qYYvGdI6nnlNsGH4cIGsgBnV7smz+mopl3g4asbSDvMV0jA==
dependencies:
"@docusaurus/logger" "3.5.2"
"@docusaurus/utils" "3.5.2"
"@docusaurus/utils-common" "3.5.2"
fs-extra "^11.2.0"
joi "^17.9.2"
js-yaml "^4.1.0"
lodash "^4.17.21"
tslib "^2.6.0"

"@docusaurus/[email protected]", "@docusaurus/utils@^2 || ^3":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@docusaurus/utils/-/utils-3.3.2.tgz#2571baccb5b7ed53d50b670094139a31a53558df"
Expand All @@ -1657,6 +1826,32 @@
url-loader "^4.1.1"
webpack "^5.88.1"

"@docusaurus/[email protected]":
version "3.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/utils/-/utils-3.5.2.tgz#17763130215f18d7269025903588ef7fb373e2cb"
integrity sha512-33QvcNFh+Gv+C2dP9Y9xWEzMgf3JzrpL2nW9PopidiohS1nDcyknKRx2DWaFvyVTTYIkkABVSr073VTj/NITNA==
dependencies:
"@docusaurus/logger" "3.5.2"
"@docusaurus/utils-common" "3.5.2"
"@svgr/webpack" "^8.1.0"
escape-string-regexp "^4.0.0"
file-loader "^6.2.0"
fs-extra "^11.1.1"
github-slugger "^1.5.0"
globby "^11.1.0"
gray-matter "^4.0.3"
jiti "^1.20.0"
js-yaml "^4.1.0"
lodash "^4.17.21"
micromatch "^4.0.5"
prompts "^2.4.2"
resolve-pathname "^3.0.0"
shelljs "^0.8.5"
tslib "^2.6.0"
url-loader "^4.1.1"
utility-types "^3.10.0"
webpack "^5.88.1"

"@easyops-cn/autocomplete.js@^0.38.1":
version "0.38.1"
resolved "https://registry.yarnpkg.com/@easyops-cn/autocomplete.js/-/autocomplete.js-0.38.1.tgz#46dff5795a9a032fa9b9250fdf63ca6c61c07629"
Expand Down Expand Up @@ -4354,7 +4549,7 @@ fs-extra@^10.0.0:
jsonfile "^6.0.1"
universalify "^2.0.0"

fs-extra@^11.1.1:
fs-extra@^11.1.1, fs-extra@^11.2.0:
version "11.2.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b"
integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==
Expand Down Expand Up @@ -8018,7 +8213,16 @@ std-env@^3.0.1:
resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.7.0.tgz#c9f7386ced6ecf13360b6c6c55b8aaa4ef7481d2"
integrity sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==

"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0:
"string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"

string-width@^4.1.0, string-width@^4.2.0:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
Expand Down Expand Up @@ -8067,7 +8271,14 @@ stringify-object@^3.3.0:
is-obj "^1.0.1"
is-regexp "^1.0.0"

"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
dependencies:
ansi-regex "^5.0.1"

strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
Expand Down

0 comments on commit eaa4bda

Please sign in to comment.