forked from cssnano/cssnano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
116 lines (116 loc) · 3.04 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
module.exports = {
title: 'CSSNANO',
tagline: `Deliver your website's styles, faster.`,
url: 'https://cssnano.github.io', // url to your site with no trailing slash
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'cssnano', // Usually your GitHub org/user name.
projectName: 'cssnano', // Usually your repo name.
themeConfig: {
navbar: {
hideOnScroll: false,
logo: {
alt: 'CSSNANO Logo',
src: 'img/logo-alt.svg',
},
items: [
{
to: 'docs/introduction',
label: 'Guide',
position: 'left',
},
{
to: 'docs/optimisations',
label: 'Optimizations',
position: 'left',
activeBasePath: 'optimisations',
},
{ to: 'playground', label: 'Playground', position: 'left' },
{ to: 'docs/support-us', label: 'Support', position: 'left' },
{ to: 'blog', label: 'Blog', position: 'right' },
{
href: 'https://github.com/cssnano/cssnano',
label: 'GitHub',
position: 'right',
},
{
href: 'https://opencollective.com/cssnano',
label: 'Donate',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
to: 'docs/introduction',
label: 'Guide',
},
{
to: 'docs/optimisations',
label: 'Optimizations',
},
{ to: 'playground', label: 'Playground' },
{ to: 'docs/support-us', label: 'Support' },
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/cssnano',
},
{
label: 'Gitter',
href: 'https://gitter.im/postcss/postcss',
},
{
href: 'https://opencollective.com/cssnano',
label: 'Donate',
},
],
},
{
title: 'Social',
items: [
{
label: 'Blog',
to: 'blog',
},
{
label: 'GitHub',
href: 'https://github.com/cssnano/cssnano',
},
{
label: 'Twitter',
href: 'https://twitter.com/cssnano_',
},
],
},
],
copyright: `Latest release v5.0.8 · Distributed under the MIT License.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
showLastUpdateAuthor: true,
showLastUpdateTime: true,
editUrl: 'https://github.com/cssnano/cssnano/edit/master/site/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: [require.resolve('./docusaurus-webpack-plugin')],
};