-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocusaurus.config.js
104 lines (104 loc) · 2.76 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
module.exports = {
title: 'Ainizers',
tagline: 'Ainizer Showcase',
url: 'https://master-welcome-ainizer-julia-jueun.endpoint.ainize.ai',
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'JuliaJueun', // Usually your GitHub org/user name.
projectName: 'welcome-ainizer', // Usually your repo name.
themeConfig: {
googleAnalytics: {
trackingID: 'UA-120727651-12',
},
image: 'img/og_img.png',
gtag: {
trackingID: 'UA-120727651-12',
},
navbar: {
title: '',
logo: {
alt: 'Ainizer logo',
src: 'img/ainizers_logo.svg',
},
items: [
{
to: '/showcase',
activeBasePath: 'showcase',
label: 'Showcase',
position: 'left',
},
{ to: 'blog', label: 'Blog', position: 'left' },
{
to: '/community/support',
label: 'Community',
position: 'left',
activeBaseRegex: `/community/`,
},
{
href: 'https://github.com/JuliaJueun/welcome-ainizer',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
},
],
},
footer: {
style: 'dark',
copyright: `Copyright © ${new Date().getFullYear()} Julia X Hanjeong.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
//sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/JuliaJueun/welcome-ainizer',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/JuliaJueun/welcome-ainizer',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: [
// ['@docusaurus/plugin-google-analytics'],
// ['@docusaurus/plugin-google-gtag'],
[
'@docusaurus/plugin-ideal-image',
{
quality: 70,
max: 1030, // max resized image's size.
min: 640, // min resized image's size. if original is lower, use that size.
steps: 2, // the max number of images generated between min and max (inclusive)
},
],
[
'@docusaurus/plugin-client-redirects',
{
fromExtensions: ['html'],
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'community',
path: 'community',
editUrl: 'https://github.com/JuliaJueun/welcome-ainizer',
routeBasePath: 'community',
// sidebarPath: require.resolve('./sidebarsCommunity.js'),
showLastUpdateAuthor: false,
showLastUpdateTime: false,
},
],
]
};