-
Notifications
You must be signed in to change notification settings - Fork 3
/
docusaurus.config.js
70 lines (70 loc) · 1.92 KB
/
docusaurus.config.js
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
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Gura',
tagline: '',
url: 'https://gura.netlify.app/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'JWare',
projectName: 'Gura',
themeConfig: {
navbar: {
title: 'Gura',
logo: {
alt: 'Gura Logo',
src: 'img/gura-thumbnail.png',
},
items: [
{ to: 'docs/gura', label: 'Docs', position: 'left' },
{ to: 'resources', label: 'Resources', position: 'left' },
{
type: 'docsVersionDropdown',
position: 'right'
},
{
href: 'https://discord.gg/Qs5AXPQpKd',
position: 'right',
className: 'header-discord-link header-icon-link',
title: 'Discord server',
'aria-label': 'Discord server',
},
{
href: 'https://github.com/gura-conf/gura',
position: 'right',
className: 'header-github-link header-icon-link',
title: 'GitHub repository',
'aria-label': 'GitHub repository',
},
],
},
footer: {
style: 'dark',
copyright: `Copyright © ${new Date().getFullYear()} JWare Solutions`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
/**
* Skip the next release docs when versioning is enabled.
* This will not generate HTML files in the production build for documents
* in `/docs/next` directory, only versioned docs.
* TODO: set to false when finished version 2.0.0
*/
includeCurrentVersion: true
},
theme: {
customCss: [
require.resolve('./src/css/custom.scss'),
]
},
},
],
],
plugins: ['docusaurus-plugin-sass'],
};