This repository was archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
151 lines (151 loc) · 4.09 KB
/
docusaurus.config.js
File metadata and controls
151 lines (151 loc) · 4.09 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
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
module.exports = {
title: 'Partner & Technical Consultants Documentation',
tagline: 'Cotalker Training Center',
url: 'https://doc.cotalker.com',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'Cotalker', // Usually your GitHub org/user name.
projectName: 'Cotalker', // Usually your repo name.
themes: ['@docusaurus/theme-live-codeblock'],
plugins: [
[require.resolve('@cmfcmf/docusaurus-search-local'), {
// blogRouteBasePath: '/blog', // must correspond to the base route path configured for the blog plugin
// docsRouteBasePath: '/docs', // must correspond to the base route path configured for the docs plugin
// indexBlog: true, // whether to index blog pages
// indexDocs: true, // whether to index docs pages
// indexPages: false, // whether to index static pages
// // /404.html is never indexed
// language: "en" // language of your documentation, see next section
}]
],
themeConfig: {
disableDark: 'light',
sidebarCollapsible: true,
navbar: {
title: '',
logo: {
alt: 'Cotalker',
src: 'img/logo.svg',
srcDark: 'img/logo_dark.svg',
},
items: [
{
to: 'docs/getting_started/intro_overview',
activeBasePath: 'docs',
label: 'Getting Started',
position: 'left',
},
{
// to: 'docs/updates/new_features',
// activeBasePath: 'docs',
to: 'blog',
label: 'Updates',
position: 'left',
},
{
to: 'docs/documentation/documentation_overview',
activeBasePath: 'docs',
label: 'Documentation',
position: 'left',
},
{
to: 'docs/tutorials/tutorial_overview',
activeBasePath: 'docs',
label: 'Tutorials',
position: 'left',
},
{
to: 'docs/certification/certification_overview',
activeBasePath: 'docs',
label: 'Certification',
position: 'left',
},
{
to: 'docs/support/support_overview',
activeBasePath: 'docs',
label: 'Support & Help',
position: 'left',
},
// --- Language Dropdown Menu ----
// --- Uncomment code to activate i18n options ---
// {
// type: 'localeDropdown',
// position: 'left',
// },
],
},
footer: {
style: 'dark',
links: [
{
title: 'General',
items: [
{
label: 'Cotalker',
to: 'https://www.cotalker.com',
},
],
},
{
title: 'Clients',
items: [
{
label: 'Web Client',
to: 'https://web.cotalker.com',
},
{
label: 'Android',
to: 'https://play.google.com/store/apps/details?id=com.cotalker.universal'
},
{
label: 'iOS',
to: 'https://apps.apple.com/app/cotalker/id1525633301'
}
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Cotalker`,
},
googleAnalytics: {
trackingID: 'G-BP7YHW5W2P',
}
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/Cotalker/documentation/tree/main/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
blog: {
blogSidebarCount: 'ALL',
blogSidebarTitle: 'Latest features:',
feedOptions: {
type: 'all',
},
},
},
],
],
// --- Language Options ---
// --- Uncomment code to activate i18n options
// i18n: {
// defaultLocale: 'en',
// locales: ['en', 'es'],
// localeConfigs: {
// en: {
// label: 'English',
// direction: 'ltr',
// },
// es: {
// label: 'Español',
// direction: 'ltr',
// },
// },
// },
};