-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocusaurus.config.js
58 lines (58 loc) · 1.45 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
module.exports = {
title: "Xenit",
tagline: "Xenit Open Source",
url: "http://xenitab.github.io",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "XenitAB", // Usually your GitHub org/user name.
projectName: "xenitab.github.io", // Usually your repo name.
plugins: [require.resolve("docusaurus-lunr-search")],
themeConfig: {
navbar: {
// title: "Xenit AB Open Source",
logo: {
alt: "Xenit logo",
src: "img/Xenit_logo_Svart.png",
srcDark: "img/Xenit_logo_Vit.png",
},
items: [
{
to: "docs/",
activeBasePath: "docs",
label: "Docs",
position: "right",
},
{ to: "blog/", label: "Blog", position: "right" },
{
href: "https://github.com/XenitAB",
label: "GitHub",
position: "right",
},
],
},
prism: {
additionalLanguages: ["hcl", "aspnet"],
},
image: "img/Xenit_logo_Svart.png",
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/xenitab/xenitab.github.io/edit/main/",
},
gtag: {
trackingID: "GTM-5K3TQ3K",
anonymizeIP: true,
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};