-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
155 lines (153 loc) · 3.9 KB
/
docusaurus.config.js
File metadata and controls
155 lines (153 loc) · 3.9 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
152
153
154
155
const path = require('path');
module.exports = {
title: 'Fathym',
tagline: 'Build, deploy, and scale modern web projects',
url: 'https://www.fathym.com',
baseUrl: '/docs/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'lowcodeunit', // Usually your GitHub org/user name.
projectName: 'public-web-docs', // Usually your repo name.
themeConfig: {
oribi: {
trackingID: 'XzcwMzAwMzkyNA',
},
colorMode: {
// "light" | "dark"
defaultMode: 'dark',
// Hides the switch in the navbar
// Useful if you want to support a single color mode
disableSwitch: true,
},
zoom: {
selector: '.markdown :not(em) > img',
config: {
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
background: {
light: 'rgb(24,25,26)',
dark: 'rgb(24,25,26)',
}
}
},
navbar: {
title: '',
logo: {
alt: 'Fathym',
src: 'img/Fathym-logo-white-01.png',
},
items: [
{
to: 'https://www.fathym.com/',
label: 'Home',
position: 'left',
target: '_top',
},
// {
// href: 'https://www.fathym.com/pricing',
// label: 'Pricing',
// position: 'right',
// target: '_top',
// },
{
to: 'https://www.fathym.com/docs/',
label: 'Docs',
position: 'right',
},
{
to: 'https://www.fathym.com/blog/',
label: 'Blog',
position: 'right',
target: '_top',
},
{
to: 'https://www.fathym.com/dashboard',
label: 'Login',
position: 'right',
target: '_top',
},
{
to: 'https://www.fathym.com/dashboard/create-project',
label: 'Get Started',
position: 'right',
target: '_top',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Next Steps',
items: [
{
label: 'Getting Started',
to: 'https://www.fathym.com/dashboard/create-project',
},
// {
// label: 'Pricing',
// to: 'https://www.fathym.com/pricing',
// },
{
label: 'Support',
to: '/introduction/support',
},
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
to: 'https://stackoverflow.com/questions/tagged/fathym',
},
//{
// label: 'Discord',
// href: 'https://discordapp.com/invite/fathym',
//},
{
label: 'Twitter',
to: 'https://twitter.com/fathymit',
},
{
label: 'Instagram',
to: 'https://instagram.com/fathymit',
},
],
},
{
title: 'Powered by Fathym',
items: [
{
label: 'Learn More',
to: 'https://www.fathym.com',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Fathym, Inc`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/',
// The lowcodeunit website repo
// editUrl: 'https://github.com/lowcodeunit/public-web-docs/edit/master/website/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
trackingID: 'G-NEWEXH7W8C',
},
},
],
],
plugins: [
require.resolve('docusaurus-plugin-image-zoom'),
//path.resolve(__dirname, 'plugins/oribi')
],
};