-
Notifications
You must be signed in to change notification settings - Fork 2
/
docusaurus.config.js
82 lines (80 loc) · 2.58 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
71
72
73
74
75
76
77
78
79
80
81
82
const path = require('path');
const terminology_design = require('./footer-links/terminology-design.json');
const manuals = require('./footer-links/manuals.json');
const specifications = require('./footer-links/specifications.json');
const repositories = require('./footer-links/repositories.json');
const copyright = require('./footer-links/copyright.json');
module.exports = {
title: 'TNO Terminology Design',
tagline: 'TEv2 Toolbox Specifications and Manuals',
url: 'https://tno-terminology-design.github.io',
baseUrl: '/tev2-specifications/',
favicon: 'images/logos/logo-tno-terminology-design.ico',
organizationName: 'tno-terminology-design',
projectName: 'tev2-specifications',
onBrokenLinks: 'log',
scripts: [
{ src: '/tev2-specifications/js/fix-location.js',
async: false,
defer: false,
},
],
themeConfig: {
docs: {
sidebar: {
autoCollapseCategories: true,
hideable: true,
},
},
navbar: {
title: 'Home',
logo: { src: 'images/logos/tev2-new-babylon-medium.png', },
items: [
{ to: '/docs/categories/overview', label: 'TEv2 Overview', position: 'left'},
{ href: 'https://github.com/tno-terminology-design/tev2-specifications', label: 'Github', position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{ title: terminology_design.title, items: terminology_design.items },
{ title: manuals.title, items: manuals.items },
{ title: specifications.title, items: specifications.items, },
{ title: repositories.title, items: repositories.items },
],
copyright: copyright.text.replace("[20XX-20YY]",`2022-${new Date().getFullYear()}`)
},
prism: {
additionalLanguages: ['handlebars', 'regex', 'bash'],
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/tno-terminology-design/tev2-specifications/blob/master/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
breadcrumbs: false,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
]
// plugins: [
// [
// '@docusaurus-terminology/parser',
// { termsDir: './docs/terms',
// glossaryFilepath: './docs/glossary.md',
// noParseFiles: ['./docs/tev1/terminology-engine-v1.mdx'],
// glossaryPatternSeparator: '^',
// glossaryTermPatterns: ['term', 'concept']
// }
// ]
// ]
};