chore: proxy plausible (#3032)

This commit is contained in:
Florian Forster 2022-01-18 11:40:46 +01:00 committed by GitHub
parent 311df70a3f
commit d2e07636c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ module.exports = {
favicon: 'img/favicon.ico', favicon: 'img/favicon.ico',
organizationName: 'caos', organizationName: 'caos',
projectName: 'zitadel', projectName: 'zitadel',
scripts: [{src: '/proxy/js/script.js', async: true, defer: true, 'data-domain': 'docs.zitadel.ch', 'data-api': '/proxy/api/event'}],
themeConfig: { themeConfig: {
zoomSelector: '.markdown :not(em) > img', zoomSelector: '.markdown :not(em) > img',
navbar: { navbar: {
@ -142,12 +143,6 @@ module.exports = {
], ],
], ],
plugins: [ plugins: [
[
'docusaurus-plugin-plausible',
{
domain: 'docs.zitadel.ch',
},
],
require.resolve('plugin-image-zoom'), require.resolve('plugin-image-zoom'),
], ],
stylesheets: [ stylesheets: [