mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-19 20:48:52 +00:00
feat: plausible (#66)
Adds plausible analytics to the docs. Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/66 Reviewed-by: silverwind <[email protected]> Reviewed-by: delvh <[email protected]> Co-authored-by: jolheiser <[email protected]> Co-committed-by: jolheiser <[email protected]>
This commit is contained in:
@@ -57,6 +57,15 @@ const config = {
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
favicon: 'img/favicon.png',
|
||||
|
||||
plugins: [
|
||||
[
|
||||
'docusaurus-plugin-plausible',
|
||||
{
|
||||
domain: 'docs.gitea.com',
|
||||
},
|
||||
]
|
||||
],
|
||||
|
||||
i18n: {
|
||||
defaultLocale: 'en-us',
|
||||
locales: ['en-us', 'zh-cn'/*, 'fr-fr', 'zh-tw'*/], // temporarily disable other locales
|
||||
|
||||
Reference in New Issue
Block a user