-
Notifications
You must be signed in to change notification settings - Fork 179
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
174 lines (173 loc) · 5.51 KB
/
docusaurus.config.js
File metadata and controls
174 lines (173 loc) · 5.51 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
// SPDX-FileCopyrightText: the secureCodeBox authors
//
// SPDX-License-Identifier: Apache-2.0
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: "secureCodeBox",
tagline: "Continuous automated security testing ✓ multi scanner security platform ✓ scalable open-source tool ✓ lightweight interface ✓",
url: "https://www.securecodebox.io",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "throw",
onDuplicateRoutes: "throw",
onBrokenAnchors: "throw",
favicon: "img/Favicon.svg",
organizationName: "secureCodeBox", // Usually your GitHub org/user name.
projectName: "secureCodeBox", // Usually your repo name.
customFields: {
keywords: [
"security",
"scanner",
"automation",
"devsecops",
"vulnerability",
"pipeline",
"kubernetes",
"docker",
"cloud",
"opensource",
"owasp",
"defectdojo",
"nmap",
"nikto",
"nuclei",
"typo3",
"joomla",
"wordpress",
],
},
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
metadata: [
{name: 'og:image', content: 'img/Og_image.png'},
],
navbar: {
logo: {
alt: "secureCodeBox Logo",
src: "img/Logo_Black.svg",
srcDark: "img/Logo_White.svg",
},
items: [
{
to: `docs/getting-started/installation`,
activeBasePath: "docs",
label: "Docs",
position: "left",
},
{ to: "blog", label: "Blog", position: "left" },
{
href: "https://github.com/secureCodeBox/",
position: "right",
className: "header-github-link",
"aria-label": "GitHub repository",
},
{
href: "https://owasp.org/www-project-securecodebox/",
position: "right",
className: "header-owasp-link",
"aria-label": "OWASP project",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Style Guide",
href: "https://github.com/securecodebox/securecodebox/documentation/#style-guide",
},
{
label: "Icons",
href: "https://www.flaticon.com/",
},
],
},
{
title: "Community",
items: [
{
label: "GitHub",
href: "https://github.com/secureCodeBox",
},
{
label: "OWASP Slack (Channel #project-securecodebox)",
href: 'https://owasp.org/slack/invite',
},
{
label: "Mastodon",
href: "https://infosec.exchange/@secureCodeBox",
},
],
},
{
title: "More",
items: [
{
label: "Imprint",
href: "https://www.iteratec.com/en/legal-notice/",
},
{
label: "Data Protection",
href: "https://www.iteratec.com/en/data-protection/",
},
{
html: `
<a href="https://www.netlify.com" target="_blank" rel="noreferrer noopener" aria-label="Deploys by Netlify">
<img src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg" alt="Deploys by Netlify" width="114" height="51" />
</a>
`,
},
],
},
],
copyright: `Copyright the secureCodeBox authors. Built with Docusaurus.`,
},
prism: {
theme: require('prism-react-renderer').dracula,
additionalLanguages: ["python", "java", "rust", "yaml", "go", "bash", "diff", "json", "javascript", "makefile"],
},
}),
presets: [
[
"@docusaurus/preset-classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve("./sidebars.json"),
editUrl: "https://github.com/securecodebox/securecodebox/edit/main/documentation/",
lastVersion: "current",
exclude: ["telemetry.md", "architecture/09_architecture_decisions/adr_0000.md", "architecture/09_architecture_decisions/adr_README.md"],
versions: {
current: {
label: "Current",
path: "",
},
},
},
blog: {
blogTitle: 'Blog on Automated Security Testing',
blogDescription: 'In this blog the core maintainer will write about the development, roadmap, ideas RFCs etc. of the OWASP secureCodeBox.',
showReadingTime: true,
editUrl: "https://github.com/securecodebox/securecodebox/edit/main/documentation/",
feedOptions: {
type: "all",
title: "The secureCodeBox Developer Blog",
description:
"In this blog the core maintainer will write about the development, roadmap, ideas RFCs etc. of the OWASP secureCodeBox.",
copyright: `Copyright © ${new Date().getFullYear()} iteratec GmbH`,
language: "en",
},
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
}),
],
],
themes: ["@docusaurus/theme-live-codeblock"],
plugins: ["docusaurus-plugin-sass", "docusaurus-lunr-search"],
};