-
Notifications
You must be signed in to change notification settings - Fork 21
/
docusaurus.config.js
163 lines (158 loc) · 4.11 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
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
156
157
158
159
160
161
162
163
const versions = require('./versions.json');
function getNextVersionName() {
const lastReleasedVersion = versions[0];
return lastReleasedVersion.split('.')[0] + '.' + (parseInt(lastReleasedVersion.split('.')[1]) + 1)
}
module.exports = {
title: 'Get started',
tagline: 'Low Code Fundamentals Course is now Available',
url: 'https://learn.plantanapp.com',
baseUrl: '/',
favicon: 'img/pap-logo.png',
organizationName: 'plantanapp', // Usually your GitHub org/user name.
projectName: 'documentation', // Usually your repo name.
trailingSlash: undefined,
themeConfig: {
metadata: [
{
name: 'keywords',
content: 'Low Code Course'
},
{
name: 'description',
content: 'The only app development platform that gives IT teams the speed of low-code without compromising the power and flexibility of custom coding.'
}
],
navbar: {
title: 'Plant An App',
logo: {
alt: 'Plant an App Logo',
src: 'img/pap-logo.png',
},
items: [
{
to: 'https://community.plantanapp.com/',
label: 'Community',
position: 'left',
},
{
to: 'docs/current/general/welcome',
activeBasePath: 'docs',
label: 'Documentation',
position: 'left',
},
{
to: 'https://academy.plantanapp.com/',
label: 'Academy',
position: 'left',
},
{
to: 'https://www.youtube.com/plantanapp',
label: 'Videos',
position: 'left',
},
{
href: 'https://github.com/plantanapp/documentation',
label: 'GitHub',
position: 'right',
},
{
type: 'docsVersionDropdown',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Documentation',
items: [
{
label: 'Audience',
to: 'docs/audience',
},
{
label: 'Entities',
to: 'docs/entities',
},
],
},
{
title: 'Community',
items: [
{
label: 'Community Portal',
href: 'https://community.plantanapp.com/',
},
{
label: 'Join the Low-Code Café',
href: 'https://us02web.zoom.us/webinar/register/9416012971120/WN_Y0OUx5njQFatTEMCk3B0yg',
},
{
label: 'YouTube',
href: 'https://www.youtube.com/plantanapp',
},
],
},
{
title: 'More',
items: [
{
label: 'Plant an App Home',
href: 'https://www.plantanapp.com/',
},
{
label: 'Partners',
href: 'https://www.plantanapp.com/community/partners',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Plant an App, Inc.`,
}
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/plantanapp/documentation/edit/master',
versions: {
current: {
label: `${getNextVersionName()} (Current)`,
banner: "none",
path: "/current"
},
},
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/plantanapp/documentation/edit/master'
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
sitemap : {
changefreq: 'weekly',
priority: 0.5,
},
gtag: {
trackingID: 'G-1MFCQQZSNK',
anonymizeIP: true,
},
},
],
],
scripts: [
'/scripts/external-links.js'
],
plugins: [
"@cmfcmf/docusaurus-search-local"
],
};