From 7ad042670bddbcedbe86733d418777d8d3c59203 Mon Sep 17 00:00:00 2001 From: Fernando Hurtado Date: Wed, 3 Apr 2024 19:46:18 +0200 Subject: [PATCH 1/2] docs: add google analytics --- packages/docs/docusaurus.config.ts | 10 ++++++++++ packages/docs/package.json | 1 + 2 files changed, 11 insertions(+) diff --git a/packages/docs/docusaurus.config.ts b/packages/docs/docusaurus.config.ts index 1d7ecbf4..3e7e30de 100644 --- a/packages/docs/docusaurus.config.ts +++ b/packages/docs/docusaurus.config.ts @@ -31,6 +31,16 @@ const config: Config = { locales: ['en'], }, + plugins: [ + [ + '@docusaurus/plugin-google-gtag', + { + trackingID: 'G-EBEHLG81MW', + anonymizeIP: true, // Anonymize IP in Google Analytics data + }, + ], + ], + presets: [ [ 'classic', diff --git a/packages/docs/package.json b/packages/docs/package.json index 739829d5..9c542a6b 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -28,6 +28,7 @@ }, "devDependencies": { "@docusaurus/module-type-aliases": "3.1.0", + "@docusaurus/plugin-google-gtag": "3.1.0", "@docusaurus/tsconfig": "3.1.0", "@docusaurus/types": "3.1.0", "typescript": "~5.2.2" From 4f029229b626dcaffef468725a2661286627854b Mon Sep 17 00:00:00 2001 From: Fernando Hurtado Date: Thu, 11 Apr 2024 14:22:37 +0200 Subject: [PATCH 2/2] feat: added pull request template --- .github/PULL_REQUEST_TEMPLATE.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..bb9604f3 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,12 @@ +# Why + +Motivation an context for the change. + +# What changed + +Brief summary of the changes + +# Important + +Mention important points that require special attention or that might surprise +reviewers