forked from plausible/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
153 lines (153 loc) · 6.01 KB
/
docusaurus.config.js
File metadata and controls
153 lines (153 loc) · 6.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
module.exports = {
title: 'Plausible docs',
url: 'https://plausible.io',
baseUrl: '/docs/',
favicon: 'img/favicon.png',
organizationName: 'plausible',
trailingSlash: false,
projectName: 'docs',
scripts: [
{src: '/docs/js/tracking.js', defer: true}
],
plugins: ['@docsearch/docusaurus-adapter'],
themeConfig: {
docs: {
sidebar: {
hideable: true,
autoCollapseCategories: true,
},
},
colorMode: {
defaultMode: 'light',
},
docsearch: {
appId: '7M80VX1X5C',
apiKey: '4efe2db213efafd96489778446fceb76',
indexName: 'plausible',
askAi: {
assistantId: 'b481521d-d374-4dec-b344-12d1ceaf3b6c',
agentStudio: true,
},
},
navbar: {
logo: {
alt: 'Plausible logo',
src: 'img/plausible_logo.svg',
srcDark: 'img/plausible_logo_darkmode.svg',
href: 'https://plausible.io/',
target: '_self',
},
items: [
{
href: '/',
label: 'Docs',
position: 'left',
target: '_self',
activeBasePath: '/docs'
},
{
type: 'custom-LoginStatus',
position: 'right',
},
],
},
footer: {
style: 'dark',
logo: {
alt: 'Plausible Analytics',
src: 'img/plausible_logo_darkmode.svg',
href: 'https://plausible.io',
width: 176,
},
copyright: 'Made and hosted in the EU 🇪🇺 · Funded entirely by our subscribers.',
links: [
{
title: 'Why Plausible?',
items: [
{ label: 'Simple metrics', href: 'https://plausible.io/simple-web-analytics' },
{ label: 'Lightweight script', href: 'https://plausible.io/lightweight-web-analytics' },
{ label: 'Privacy focused', href: 'https://plausible.io/privacy-focused-web-analytics' },
{ label: 'Open source', href: 'https://plausible.io/open-source-website-analytics' },
{ label: 'No cookie banner', href: 'https://plausible.io/cookieless-web-analytics' },
{ label: 'Visitor segmentation', href: 'https://plausible.io/audience-segmentation' },
{ label: 'Ecommerce', href: 'https://plausible.io/for-ecommerce' },
{ label: 'SaaS', href: 'https://plausible.io/for-saas' },
{ label: 'Publishers', href: 'https://plausible.io/for-bloggers-creators' },
{ label: 'Agencies', href: 'https://plausible.io/for-freelancers-agencies' },
{ label: 'White label', href: 'https://plausible.io/white-label-web-analytics' },
{ label: 'Enterprise', href: 'https://plausible.io/enterprise-web-analytics' },
],
},
{
title: 'Explore',
items: [
{ label: 'vs Google Analytics', href: 'https://plausible.io/vs-google-analytics' },
{ label: 'Migrate from GA4', href: 'https://plausible.io/migrate-from-google-analytics' },
{ label: 'vs Matomo', href: 'https://plausible.io/vs-matomo' },
{ label: 'vs Cloudflare', href: 'https://plausible.io/vs-cloudflare-web-analytics' },
{ label: 'GA4 accuracy comparison', href: 'https://plausible.io/most-accurate-web-analytics' },
{ label: 'Why pay for analytics?', href: 'https://plausible.io/paid-analytics-vs-free-ga' },
{ label: 'Is Plausible right for you?', href: 'https://plausible.io/when-not-to-use-plausible' },
{ label: 'WordPress plugin', href: 'https://plausible.io/wordpress-analytics-plugin' },
{ label: 'Google Tag Manager', href: 'https://plausible.io/gtm-template' },
{ label: 'Looker Studio', href: 'https://plausible.io/looker-studio-connector' },
{ label: 'NPM package', href: 'https://www.npmjs.com/package/@plausible-analytics/tracker' },
],
},
{
title: 'Resources',
items: [
{ label: 'Documentation', href: 'https://plausible.io/docs' },
{ label: 'Blog', href: 'https://plausible.io/blog' },
{ label: 'Tools', href: 'https://plausible.io/tools' },
{ label: "What's new", href: 'https://plausible.io/changelog' },
{ label: 'Status', href: 'https://plausible.io/status' },
{ label: 'GitHub', href: 'https://github.com/plausible/analytics' },
{ label: 'Twitter', href: 'https://twitter.com/plausiblehq' },
{ label: 'Bluesky', href: 'https://bsky.app/profile/plausible.io' },
{ label: 'Mastodon', href: 'https://fosstodon.org/@plausible' },
{ label: 'LinkedIn', href: 'https://www.linkedin.com/company/plausible-analytics/' },
],
},
{
title: 'Company',
items: [
{ label: 'About', href: 'https://plausible.io/about' },
{ label: 'Pricing', href: 'https://plausible.io/#pricing' },
{ label: 'Contact', href: 'https://plausible.io/contact' },
{ label: 'Privacy policy', href: 'https://plausible.io/privacy' },
{ label: 'Data policy', href: 'https://plausible.io/data-policy' },
{ label: 'Terms', href: 'https://plausible.io/terms' },
{ label: 'DPA', href: 'https://plausible.io/dpa' },
{ label: 'Security', href: 'https://plausible.io/security' },
{ label: 'Compliance', href: 'https://plausible.io/compliance' },
{ label: 'Imprint', href: 'https://plausible.io/imprint' },
],
},
],
},
image: 'img/plausible-analytics.png',
metadata: [
{name: 'twitter:site', content: '@PlausibleHQ'},
{name: 'twitter:card', content: 'summary_large_image'},
],
prism: {
additionalLanguages: ['bash', 'json'],
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
showLastUpdateTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};