generated from nl-design-system/example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.ts
101 lines (93 loc) · 2.98 KB
/
docusaurus.config.ts
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
import type { Config } from '@docusaurus/types';
import type { Options, ThemeConfig } from '@docusaurus/preset-classic';
import { themes } from 'prism-react-renderer';
import navbar from './navbar';
const config: Config = {
title: 'Gebruikersonderzoeken',
tagline: 'Gedeelde gebruikersonderzoeken van alle gemeenten in Nederland voor onderzoekers, ontwerpers en managers',
favicon: 'img/favicon.ico',
// Set the production url of your site here
url: 'https://gebruikersonderzoeken.nl',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/',
organizationName: 'nl-design-system', // Usually your GitHub org/user name.
projectName: 'gebruikersonderzoeken', // Usually your repo name.
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'nl',
locales: ['nl'],
},
presets: [
[
'classic',
{
docs: {
sidebarPath: './sidebars.ts',
editUrl:
'https://github.com/nl-design-system/gebruikersonderzoeken/tree/main/packages/create-docusaurus/templates/shared/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/nl-design-system/gebruikersonderzoeken/tree/main/packages/create-docusaurus/templates/shared/',
},
theme: {
customCss: './src/css/custom.css',
},
} satisfies Options,
],
],
themeConfig: {
navbar,
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 2,
},
prism: {
theme: themes.github,
darkTheme: themes.dracula,
},
colorMode: {
disableSwitch: true,
},
footer: {
links: [
{
title: 'Contact',
items: [
{
label: 'Yolijn van der Kolk - yolijn@frameless.io',
href: 'mailto:yolijn@frameless.io',
},
{
label: 'Jeroen du Chatinier - j.du.chatinier@utrecht.nl',
href: 'mailto:j.du.chatinier@utrecht.nl',
},
],
},
],
},
algolia: {
// The application ID provided by Algolia
appId: 'HWYTAR8XU5',
// Public API key: it is safe to commit it
apiKey: '68720c7d6f2fe2fb3e01710c41e9b596',
indexName: 'gebruikersonderzoek',
// Config
contextualSearch: false,
// Optional: Replace parts of the item URLs from Algolia. Useful when using the same search index for multiple deployments using a different baseUrl. You can use regexp or string in the `from` param. For example: localhost:3000 vs myCompany.com/docs
replaceSearchResultPathname: {
from: '/gebruikersonderzoek/', // or as RegExp: /\/docs\//
to: '/',
},
},
future: {
experimental_faster: true,
},
} satisfies ThemeConfig,
};
export default config;