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
|
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Stud.IP Entwicklung',
tagline: 'Dokumentation für die Entwicklung von Stud.IP',
url: 'https://docs.gitlab.studip.de',
baseUrl: '/entwicklung/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'Stud.IP',
projectName: 'entwicklung',
favicon: 'https://www.studip.de/favicon.ico',
trailingSlash: false,
markdown: {
mermaid: true,
},
i18n: {
defaultLocale: 'de',
locales: ['de'],
},
themeConfig: {
prism: {
additionalLanguages: ['php', 'sass'],
},
navbar: {
logo: {
alt: 'Stud.IP Entwicklung',
src: 'img/studip-hilfe.png',
},
items: [
{
to: 'docs/quickstart/',
activeBasePath: 'docs/quickstart',
label: 'Quickstart',
position: 'left',
},
{
to: 'docs/start',
activeBasePath: 'docs/start',
label: 'Dokumentation',
position: 'left',
},
{
to: 'docs/rules/introduction',
activeBasePath: 'docs/rules/introduction',
label: 'Organisation',
position: 'left',
},
{
href: 'https://docs.gitlab.studip.de/api',
label: 'API',
position: 'right',
},
{
href: 'https://gitlab.studip.de',
label: 'Stud.IP GitLab',
position: 'right',
},
],
}
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl: 'https://gitlab.studip.de/docs/entwicklung/-/tree/main/website',
showLastUpdateTime: true,
showLastUpdateAuthor: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
themes: ['@docusaurus/theme-mermaid'],
};
|