-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
90 lines (90 loc) · 1.86 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
90 lines (90 loc) · 1.86 KB
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
export default {
title: "Logora",
tagline: "La fin du commentaire, le début du débat",
url: "https://docs.logora.fr",
baseUrl: "/",
organizationName: "Logora",
projectName: "LogoraDocumentation",
favicon: "img/favicon.ico",
onBrokenLinks: "log",
onBrokenMarkdownLinks: "log",
i18n: {
defaultLocale: 'fr',
locales: ['fr', 'en'],
localeConfigs: {
en: {
label: 'English',
htmlLang: 'en-GB',
},
fr: {
label: 'Français',
htmlLang: 'fr-FR',
},
},
},
presets: [
[
"@docusaurus/preset-classic",
{
"docs": {
"sidebarPath": "sidebars.json",
"routeBasePath": "/",
"path": "docs"
},
"theme": {
"customCss": [require.resolve('./src/css/custom.css')]
}
}
]
],
plugins: [
[
require.resolve("@cmfcmf/docusaurus-search-local"),
{
language: ["fr", "en"]
},
],
],
themeConfig: {
navbar: {
title: "Logora",
logo: {
src: "img/logora_logo.png"
},
items: [
{
to: "/",
label: "Documentation",
position: "left"
},
{
href: "https://admin.logora.fr",
label: "Administration",
position: "left"
},
{
href: "https://status.logora.fr",
label: "Status",
position: "left"
},
{
type: 'localeDropdown',
position: 'right',
},
{
href: 'https://github.com/Logora/LogoraDocumentation',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
}
]
},
footer: {
links: [],
copyright: "Copyright © 2024-25 Logora",
}
},
scripts: [
'https://docs.logora.fr/js/alesia.js'
]
}