forked from Wiznet/document_framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.txt
142 lines (140 loc) · 3.68 KB
/
docusaurus.config.txt
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
//docusaurus.config.js for Custom Landing Page
module.exports = {
title: 'WIZnet Document System',
tagline: 'Welcome to new WIZnet Document System!',
//url: 'https://wiznet.github.io',
url: 'https://doc.wiznet.io',
baseUrl: '/',
onBrokenLinks: 'ignore',
onDuplicateRoutes: 'ignore',
favicon: 'img/wizfavicon.ico',
organizationName: 'Wiznet', // Usually your GitHub org/user name.
projectName: 'document_framework', // Usually your repo name.
themeConfig: {
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: false,
switchConfig: {
darkIcon: '\u{26c8}',
lightIcon: '\u{1f324}',
},
},
algolia: {
apiKey: 'f997035e1f482592037217527848e3fd',
indexName: 'wiznet-cloud',
},
navbar: {
//title: 'WIZnet',
logo: {
alt: 'My Site Logo',
src: 'img/wiznet_logo.svg',
srcDark: 'img/wiznet_logo-white.svg',
},
items: [
{
label: 'Documents',
position: 'right', // or 'left'
items: [
{
label: 'HOME',
to: '/',
},
{
label: 'Introduction ➤',
to: 'docs/introduction',
},
{
label: 'Products',
to: 'docs/Product/products',
},
{
label: 'Design Guide',
to: 'docs/Design-Guide/design_guide',
},
{
label: 'VAR Products',
to: 'docs/VAR-Products-using-WIZnet/var_products_using_wiznet',
},
// ... more items
],
},
// {to: 'docs/introduction', label: 'INTRODUCTION TO WIZNET DOCUMENTS ➤', position: 'right'},
// {to: 'docs/download', label: 'Download', position: 'right'},
{href: 'https://forum.wiznet.io/', label: 'Forum', position: 'right'},
{href: 'https://www.wiznet.io/', label: 'WIZnet', position: 'right'},
//{to: 'blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/Wiznet/document_framework',
label: 'GitHub',
position: 'right',
},
{
// href: '',
// label: 'Save as PDF',
// position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Introduction',
to: 'docs/introduction',
},
],
},
{
title: 'Community',
items: [
{
label: 'WIZnet Forum',
href: 'https://forum.wiznet.io',
},
{
label: 'WIZnet Maker',
href: 'http://maker.wiznet.io/',
},
],
},
{
title: 'Social',
items: [
//{
// label: 'Blog',
// to: 'blog',
//},
{
label: 'GitHub',
href: 'https://github.com/Wiznet/document_framework',
},
// {
// label: 'Twitter',
// href: '',
// },
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} WIZnet Co., Ltd. Built with Docusaurus.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/Wiznet/document_framework/tree/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};