-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
197 lines (190 loc) · 5.37 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'BlissOS Blog',
tagline: 'Blissify your PC/Laptops',
url: 'https://blog.blissos.org',
baseUrl: '/',
organizationName: 'BlissRoms-x86',
projectName: 'blog',
onBrokenLinks: 'ignore',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: false,
blog: {
showReadingTime: true,
routeBasePath: '/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
trackingID: '7639560510014441',
anonymizeIP: true,
},
}),
],
],
plugins: [
'docusaurus-plugin-google-adsense'
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
googleAdsense: {
dataAdClient: 'ca-pub-7639560510014441',
},
navbar: {
title: 'BlissOS Blog',
},
footer: {
style: 'dark',
links: [
{
title: 'Websites',
items: [
{
label: 'BlissOS Website',
href: 'https://blissos.org/',
},
{
label: 'BlissRoms Website',
href: 'https://blissroms.org/',
},
{
label: 'BlissLabs Website',
href: 'https://blisslabs.org/',
},
],
},
{
title: 'BlissLabs Socials',
items: [
{
label: 'BlissLabs Discord',
href: 'https://discord.com/invite/F9n5gbdNy2',
},
{
label: 'BlissLabs Facebook',
href: 'https://www.facebook.com/BlissFamilyOfROMs/',
},
{
label: 'BlissLabs LinkedIn',
href: 'https://www.linkedin.com/company/stayblissful',
},
],
},
{
title: 'BlissOS Social',
items: [
{
label: 'BlissOS Instagram',
href: 'https://instagram.com/blissos_org',
},
{
label: 'BlissOS Reddit',
href: 'https://www.reddit.com/r/BlissOS',
},
{
label: 'BlissOS Twitter',
href: 'https://twitter.com/blissos_org',
},
{
label: 'BlissOS Telegram',
href: 'https://t.me/blissx86',
},
],
},
{
title: 'BlissRoms Social',
items: [
{
label: 'BlissRoms Facebook',
href: 'https://www.facebook.com/BlissROMs/',
},
{
label: 'BlissRoms Instagram',
href: 'https://instagram.com/blissroms',
},
{
label: 'BlissRoms Reddit',
href: 'https://www.reddit.com/r/BlissRoms',
},
{
label: 'BlissRoms Twitter',
href: 'https://twitter.com/bliss_roms',
},
{
label: 'BlissRoms Telegram',
href: 'https://t.me/Team_Bliss_Community',
},
],
},
{
title: 'Sources',
items: [
{
label: 'Android-Generic Gitlab',
to: 'https://github.com/android-generic/vendor_ag',
},
{
label: 'BlissRoms Gerrit Review',
to: 'https://review.blissos.com',
},
{
label: 'BlissRoms Github',
to: 'https://github.com/BlissRoms',
},
{
label: 'BlissRoms-Devices Github',
to: 'https://github.com/BlissRoms-Devices',
},
{
label: 'BlissRoms-PINE64 Github',
to: 'https://github.com/BlissRoms-pine64',
},
{
label: 'BlissOS Github',
to: 'https://github.com/BlissRoms-x86',
},
],
},
{
title: 'Developers',
items: [
{
label: 'BlissOS Docs',
to: 'https://docs.blissos.org/',
},
{
label: 'BlissRoms Docs',
href: 'https://docs.blissroms.org/',
},
{
label: 'Android-Generic Docs',
href: 'https://android-generic-project.gitbook.io/documentation/',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} <a href="https://blisslabs.org/">BlissLabs</a>, All rights reserved.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
}),
};
module.exports = config;