forked from TurboWarp/docs
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
76 lines (76 loc) · 1.77 KB
/
docusaurus.config.js
File metadata and controls
76 lines (76 loc) · 1.77 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
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Dash Documentation',
url: 'https://dashblocks.github.io',
baseUrl: '/docs/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
organizationName: 'DashBlocks',
projectName: 'docs',
trailingSlash: false,
headTags: [
{
tagName: 'meta',
attributes: {
name: 'algolia-site-verification',
content: '9975DC2323356DF8',
},
},
],
themeConfig: {
navbar: {
title: 'Dash Documentation',
items: [
{
href: '/packager/',
label: 'Packager',
position: 'left',
},
{
href: '/development/',
label: 'Development',
position: 'left',
},
{
href: 'https://dashblocks.github.io/',
label: 'Dash',
position: 'right',
},
{
href: 'https://github.com/DashBlocks',
label: 'GitHub',
position: 'right',
},
],
},
algolia: {
// This is all supposed to be public
appId: '63CQ0IJW9T',
apiKey: '0e0a2613717b73dfbcfed6c8a549384b',
indexName: 'dashblocks_github_io_63cq0ijw9t_pages',
},
colorMode: {
respectPrefersColorScheme: true,
},
prism: {
theme: require('./code-themes/light'),
darkTheme: require('./code-themes/dark'),
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/',
editUrl: 'https://github.com/DashBlocks/docs/edit/master/',
breadcrumbs: false,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};