This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
153 lines (152 loc) · 3.48 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
config = require('dotenv').config()
module.exports = {
title: 'Overbookd',
tagline: 'Event planner',
url: 'https://overbookd.24heures.org/',
baseUrl: '/docs/',
onBrokenLinks: 'ignore',
favicon: 'img/favicon.ico',
organizationName: '24HeuresINSA',
projectName: 'overbookd',
themeConfig: {
navbar: {
title: 'Overbookd',
logo: {
alt: 'Overbookd Logo',
src: 'img/logo.svg',
},
items: [
{
to: 'overbookd/introduction',
activeBasePath: 'overbookd',
label: 'Documentation',
position: 'left',
},
{
to: "api",
activeBasePath: "api",
label: "API",
position: "left",
},
{
to: "db/introduction",
activeBasePath: "db",
label: "Modèle de données",
position: "left"
},
{
to: 'downloads',
label: 'Téléchargements',
position: 'left',
},
{
href: 'https://github.com/24HeuresINSA',
label: 'GitHub',
position: 'right',
}
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Express',
href: 'https://expressjs.com/',
},
{
label: 'Keycloak',
href: 'https://www.keycloak.org/',
},
{
label: 'VueJS',
href: 'https://vuejs.org/',
},
{
label: 'Docker',
href: 'https://docs.docker.com/',
},
{
label: 'Sequelize',
href: 'https://sequelize.org/',
},
],
},
{
title: '24 heures de l\'INSA',
items: [
{
label: 'Facebook',
href: 'https://facebook.com/24heuresinsa'
},
{
label: 'Site',
href: 'https://24heures.org'
}
]
},
{
title: 'Plus',
items: [
{
label: 'Blog',
to: 'blog',
},
{
label: 'GitHub',
href: 'https://github.com/24HeuresINSA',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Project A Built with Docusaurus.`,
},
algolia: {
apiKey: process.env.ALGOLIA_API_KEY,
indexName: process.env.ALGOLIA_INDEX_NAME
}
},
themes: [
[
'@docusaurus/theme-classic',
{
customCss: require.resolve('./src/css/custom.css'),
}
]
],
plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'db',
path: 'db',
routeBasePath: 'db',
include: ['**/*.md', '**/*.mdx'],
sidebarPath: require.resolve('./sidebars/db.js'),
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'overbookd',
path: 'overbookd',
routeBasePath: 'overbookd',
include: ['**/*.md', '**/*.mdx'],
sidebarPath: require.resolve('./sidebars/overbookd.js'),
},
],
[
'@docusaurus/plugin-content-pages',
{
path: 'src/pages',
include: ['**/*.{js,jsx,ts,tsx,md,mdx}']
}
],
["docusaurus-plugin-openapi", {
openapiPath: require.resolve("./overbookd.json"),
}],
"docusaurus2-dotenv",
],
};