forked from geocortex/dev-center
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
109 lines (109 loc) · 3.62 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
const title = "Developer Center";
module.exports = {
title,
tagline: "by developers, for developers",
url: "https://geocortex.github.io/",
baseUrl: "/",
favicon: "img/favicon.png",
organizationName: "geocortex", // Usually your GitHub org/user name.
projectName: "dev-center", // Usually your repo name.
themeConfig: {
// Config lives at https://github.com/algolia/docsearch-configs/blob/master/configs/geocortex.json
algolia: {
apiKey: "fcdd20750dc409ec43b89e692fcbb72c",
indexName: "geocortex",
},
navbar: {
title,
logo: {
alt: "Geocortex Logo",
src: "img/logo.png",
},
links: [
{
to: "docs/web/overview",
label: "Web",
position: "left",
activeBasePath: "docs/web",
},
{
to: "docs/mobile/overview",
label: "Mobile",
position: "left",
activeBasePath: "docs/mobile",
},
{
to: "docs/workflow/overview",
label: "Workflow",
position: "left",
activeBasePath: "docs/workflow",
},
],
},
footer: {
style: "dark",
copyright: `Copyright © ${new Date().getFullYear()} Latitude Geographics Group Ltd. All rights reserved.`,
links: [
{
title: "About",
items: [
{
label: "Geocortex.com",
to: "https://geocortex.com",
},
{
label: "Geocortex Documentation Center",
to: "https://docs.geocortex.com",
},
{
label: "GitHub",
to: "https://github.com/geocortex/dev-center",
},
],
},
{
title: "Geocortex Apps",
items: [
{
label: "Geocortex Web",
to:
"https://apps.geocortex.com/webviewer/designer/",
},
{
label: "Geocortex Mobile",
to:
"https://apps.geocortex.com/mobileviewer/designer/",
},
{
label: "Geocortex Workflow",
to: "https://apps.geocortex.com/workflow/designer/",
},
],
},
],
},
prism: {
additionalLanguages: ["csharp"],
},
gtag: {
trackingID: "UA-103604191-6",
anonymizeIP: true,
},
},
plugins: ["@docusaurus/plugin-google-gtag"],
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
editUrl:
"https://github.com/geocortex/dev-center/edit/master/",
sidebarPath: require.resolve("./sidebars.js"),
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};