feat: add matomo
This commit is contained in:
parent
e3dab9542b
commit
5a6eb31444
|
@ -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;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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": [
|
||||||
|
|
Loading…
Reference in New Issue