forked from apache/druid-website-src
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
154 lines (150 loc) · 4.14 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
const Redirects = require('./redirects.js').Redirects;
/*
buildVersion is used for 2 things:
- `path` determines the docs folder to use for input, such as /docs/26.0
- `routeBasePath` for the the routing of the built . If set to latest, you get http://localhost:3000/docs/latest/design/ built.
The build script handles updating this variable for you when you're building the site for production. You do not need to update it manually. It's set to latest by default to allow the site to be built ad hoc for local preview.
*/
var buildVersion = "latest";
module.exports={
"title": "Apache® Druid",
"tagline": "A fast analytical database",
"url": "https://druid.apache.org",
"baseUrl": "/",
"organizationName": "Apache®",
"projectName": "ApacheDruid",
"scripts": [
"https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js",
],
"stylesheets": [
"https://use.fontawesome.com/releases/v5.7.2/css/all.css",
],
"favicon": "img/favicon.png",
"customFields": {
"disableHeaderTitle": true,
},
"onBrokenLinks": "log",
"onBrokenMarkdownLinks": "log",
"presets": [
[
"@docusaurus/preset-classic",
{
"docs": {
"showLastUpdateAuthor": false,
"showLastUpdateTime": false,
"exclude": [
'**incubating/**'
],
"path": "./docs/"+buildVersion,
"routeBasePath": "/docs/"+buildVersion,
"sidebarPath": "./sidebars.json"
},
"theme": {
"customCss": [
"./src/css/customTheme.css",
"./src/css/index.css"
]
},
"gtag": {
"trackingID": "UA-131010415-1"
}
}
]
],
"plugins": [
[
"@docusaurus/plugin-client-redirects",
{
"fromExtensions": [
"html"
],
"redirects": Redirects
}
],
require.resolve('docusaurus-lunr-search')
],
"themeConfig": {
colorMode: {
defaultMode: 'light',
disableSwitch: true,
respectPrefersColorScheme: false,
},
"navbar": {
"logo": {
"src": "img/druid_nav.png"
},
"style": "dark",
"items": [
{
"to": "/technology",
"label": "Technology",
"position": "right"
},
{
"to": "/use-cases",
"label": "Use Cases",
"position": "right",
},
{
"to": "/druid-powered",
"label": "Powered By",
"position": "right",
},
{
"to": "/docs/"+buildVersion+"/design/",
"label": "Docs",
"position": "right"
},
{
"href": "/community/",
"label": "Community",
"position": "right"
},
{
"label": "Apache®",
"type": "dropdown",
"position": "right",
"items": [
{
"href": "https://www.apache.org/",
"label": "Foundation"
},
{
"href": "https://apachecon.com/?ref=druid.apache.org",
"label": "Events"
},
{
"href": "https://www.apache.org/licenses/",
"label": "License"
},
{
"href": "https://www.apache.org/foundation/thanks.html",
"label": "Thanks"
},
{
"href": "https://www.apache.org/security/",
"label": "Security"
},
{
"href": "https://www.apache.org/foundation/sponsorship.html",
"label": "Sponsorship"
}
],
},
{
"href": "/downloads/",
"label": "Download",
"position": "right"
}
]
},
"image": "img/druid_nav.png",
"footer": {
"links": [],
"copyright": "Copyright © 2023 Apache Software Foundation. Except where otherwise noted, licensed under CC BY-SA 4.0. Apache Druid, Druid, and the Druid logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.",
"logo": {
"src": "img/favicon.png"
}
},
}
}