forked from akito19/sider-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
85 lines (82 loc) · 2.26 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
module.exports = {
title: "Sider Documentation",
tagline: "The documentation site for Sider.",
url: "https://help.sider.review",
baseUrl: "/",
favicon: "img/favicon.ico",
organizationName: "sider",
projectName: "sider-docs",
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
path: "./docs",
sidebarPath: "./sidebars.js",
routeBasePath: "/",
editUrl: "https://github.com/sider/sider-docs/edit/master/",
},
theme: {
customCss: [require.resolve("./src/css/custom.css")],
},
},
],
],
themeConfig: {
image: "img/og-thumb.png",
navbar: {
title: "Sider Docs",
logo: {
src: "img/header-logo.svg",
alt: "Sider logo",
},
items: [
{ to: "getting-started/setup", label: "Getting Started" },
{ to: "enterprise/index", label: "Enterprise" },
{ to: "news/2022", label: "News" },
{ href: "https://sider.review/", label: "Sider Top", position: "right" },
],
},
footer: {
logo: {
src: "img/footer-logo.svg",
alt: "Sider logo",
href: "/",
},
copyright: `Copyright © ${new Date().getFullYear()} Sider Corporation`,
links: [
{
title: "Docs",
items: [
{ to: "getting-started/setup", label: "Getting Started" },
{ href: "/#analysis-tools", label: "Analysis Tools" },
{ to: "enterprise/index", label: "Enterprise" },
],
},
{
title: "Sider",
items: [
{ href: "https://sider.review/", label: "Sider Top" },
{ href: "https://sider.review/terms", label: "Terms of Service" },
{ href: "https://sider.review/privacy", label: "Privacy" },
],
},
{
title: "Social",
items: [
{ href: "https://siderlabs.com/blog", label: "Blog" },
{ href: "https://github.com/sider", label: "GitHub" },
],
},
],
},
googleAnalytics: {
trackingID: "UA-48995135-1",
},
algolia: {
apiKey: "049a35b7a22ba1310e14ad116d32c18b",
indexName: "sider",
},
},
clientModules: [require.resolve("./src/js/intercom.js")],
};