forked from loophole/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
135 lines (135 loc) · 3.44 KB
/
docusaurus.config.js
File metadata and controls
135 lines (135 loc) · 3.44 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
module.exports = {
title: "Loophole",
tagline: "Instant hosting, right from your local machine",
customFields: {
description:
"No more hassle with port-forwarding, bypassing firewalls, or setting up dynamic DNS. Do what you are best at, CODING. We take care of the rest!",
},
url: "https://loophole.cloud",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/icon.png",
organizationName: "loophole",
projectName: "website",
themeConfig: {
navbar: {
title: "",
logo: {
alt: "Loophole",
src: "img/logo.png",
},
items: [
{
to: "download",
label: "Download",
position: "left",
},
{
to: "docs",
activeBasePath: "docs",
label: "Documentation",
position: "left",
},
{
to: "blog",
label: "Blog",
position: "left",
},
{
to: "/docs/faq",
label: "FAQ",
position: "left",
},
],
},
footer: {
style: "light",
links: [
{
title: "Company",
items: [
{
label: "Contact",
to: "contact",
},
{
label: "Terms and Conditions",
to: "terms-and-conditions",
},
{
label: "Privacy Policy",
to: "privacy-policy",
},
{
label: "Report Abuse",
to: "report-abuse",
},
],
},
{
title: "Community",
items: [
{
label: "Github",
href: "https://github.com/loophole/cli/discussions",
},
{
label: "Twitter",
href: "https://twitter.com/loophole_cloud",
},
{
label: "Product hunt",
href: "https://www.producthunt.com/posts/loophole",
},
],
},
{
title: "Sponsor Us!",
items: [
{
label: "Why Donate?",
href: "/blog/the-next-big-thing",
},
{
label: "Buy me a Coffee",
href: "https://www.buymeacoffee.com/loophole",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Main Development GmbH. All rights reserved.`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarCollapsible: false, // For now when we have small amount of documents
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/loophole/website/edit/master/",
},
blog: {
showReadingTime: true,
feedOptions: {
type: "all",
copyright: `Copyright © ${new Date().getFullYear()} Main Development GmbH. All rights reserved.`,
},
blogSidebarCount: "ALL",
blogSidebarTitle: "All our posts",
truncateMarker: /<!--\s*(truncate)\s*-->/,
},
theme: {
customCss: require.resolve("./src/css/custom.scss"),
},
sitemap: {
changefreq: "weekly",
priority: 0.5,
trailingSlash: false,
},
},
],
],
plugins: ["docusaurus-plugin-sass", "@docusaurus/plugin-ideal-image"],
};