-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.js
48 lines (47 loc) · 1.07 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
const path = require('path');
module.exports = {
title: 'Code Property Graph Specification Website',
tagline: '',
url: 'https://cpg-spec.github.io/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'joernio',
projectName: 'cpg-spec-website',
themeConfig: {
navbar: {
title: 'Code Property Graph Specification Website',
items: [],
},
colorMode: {
defaultMode: 'light',
disableSwitch: true,
respectPrefersColorScheme: false,
},
footer: {
style: 'dark',
links: [],
copyright: `Copyright © ${new Date().getFullYear()} The Joern Team.`,
},
},
plugins: [
path.resolve(__dirname, 'plugins/staticcode')
],
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
},
blog: {
showReadingTime: false,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};