feat: add matomo

This commit is contained in:
Derrick Hammer 2023-09-30 01:36:19 -04:00
parent e3dab9542b
commit 5a6eb31444
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
3 changed files with 19045 additions and 19025 deletions

View File

@ -97,7 +97,14 @@ const config = {
theme: lightCodeTheme, theme: lightCodeTheme,
darkTheme: darkCodeTheme, darkTheme: darkCodeTheme,
}, },
matomo: {
matomoUrl: "https://piwiki.lumeweb.com",
siteId: "3",
phpLoader: "matomo.php",
jsLoader: "matomo.js",
},
}), }),
plugins: ["docusaurus-plugin-matomo"],
}; };
module.exports = config; module.exports = config;

38056
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -24,19 +24,20 @@
"@docusaurus/preset-classic": "2.4.1", "@docusaurus/preset-classic": "2.4.1",
"@mdx-js/react": "^1.6.22", "@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1", "clsx": "^1.2.1",
"docusaurus-plugin-matomo": "^0.0.6",
"prism-react-renderer": "^1.3.5", "prism-react-renderer": "^1.3.5",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2" "react-dom": "^17.0.2"
}, },
"devDependencies": { "devDependencies": {
"@docusaurus/module-type-aliases": "2.4.1", "@docusaurus/module-type-aliases": "2.4.1",
"@tsconfig/docusaurus": "^1.0.5",
"typescript": "^4.7.4",
"@semantic-release/changelog": "^6.0.3", "@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1", "@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^10.0.4", "@semantic-release/npm": "^10.0.4",
"@semantic-release/release-notes-generator": "^11.0.4", "@semantic-release/release-notes-generator": "^11.0.4",
"semantic-release": "^21.0.7" "@tsconfig/docusaurus": "^1.0.5",
"semantic-release": "^21.0.7",
"typescript": "^4.7.4"
}, },
"browserslist": { "browserslist": {
"production": [ "production": [