forked from Ensono/amido.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
148 lines (143 loc) · 3.55 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
const remarkImages = require('remark-images');
const rehypeTruncate = require('rehype-truncate');
module.exports = {
title: "Amido Stacks ",
tagline:
"Helping projects gain momentum on digital transformation, with opinionated and modular boilerplate solutions",
url: "https://stacks.amido.com",
baseUrl: "/",
onBrokenLinks: "warn",
favicon: "img/thumbnail_stacks.png",
organizationName: "Amido", // Usually your GitHub org/user name.
projectName: "Stacks", // Usually your repo name.
customFields: {
description: 'Amido Stacks is a catalogue of workload templates that\n' +
'instantly scaffold and deploy boilerplate software projects. Slash the time it takes to get productive on your software project.',
keywords: [
"Microsoft Azure",
"Google Cloud Platform",
"AWS",
"C#",
".NET",
"Java",
"Spring Boot",
"Node",
"React",
"xUnit",
"Shouldly",
"BBDfy",
"Cucumber",
"Serenity",
"BDD",
"JUnit",
"Karate",
"REST",
"Rest Assured",
"Jest",
"Gatling",
"TestCafe",
"Google Lighthouse",
"Applitools",
"Cypress",
"OWASP",
],
},
themeConfig: {
gtag: {
trackingID: 'G-EKCQBC5CSJ',
anonymizeIP: true, // Should IPs be anonymized? (optional)
},
algolia: {
apiKey: "56a3097b6350cd2363a8746a98c6c278",
indexName: "amido_stacks",
// Optional: see doc section bellow
contextualSearch: true,
// Optional: Algolia search parameters
searchParameters: {},
//... other Algolia params
},
prism: {
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/vsDark'),
additionalLanguages: ['csharp', 'docker', 'powershell', 'java', 'bash', 'json'],
},
navbar: {
title: "",
logo: {
alt: "Amido Stacks Logo",
src: "img/logo_wide.svg",
},
items: [
{
to: "docs/",
activeBasePath: "docs",
label: "Docs",
position: "right",
},
{
href: "https://github.com/amido/amido.github.io",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Getting Started",
to: "docs/",
},
],
},
{
title: "About Us",
items: [
{
label: "Amido",
href: "https://amido.com/",
},
],
},
{
title: "Open Source",
items: [
{
label: "GitHub",
to: "https://github.com/amido/amido.github.io",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Amido Ltd`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
remarkPlugins: [remarkImages],
rehypePlugins: [rehypeTruncate],
},
theme: {
customCss: require.resolve("./src/css/custom.css")
},
sitemap: {
cacheTime: 600 * 1000,
changefreq: "weekly",
priority: 0.5,
trailingSlash: false,
},
googleAnalytics: {
trackingID: 'G-EKCQBC5CSJ',
anonymizeIP: true, // Should IPs be anonymized? (optional)
},
}
]
]
};