-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.js
110 lines (110 loc) · 2.69 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
module.exports = {
title: 'CREATE MVC PLUGINS FOR WORDPRESS',
tagline: '- The Framework of Choice of Mad Sciencists -',
url: 'https://sciwp.com',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'sciwp', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name.
themeConfig: {
metadatas: [{name: 'twitter:card', content: 'summary_large_image'}],
image: 'img/card.png',
algolia: {
apiKey: 'f426a19f18676d02bac178e657381b86',
indexName: 'sciwp',
contextualSearch: true,
searchParameters: {}
},
navbar: {
title: 'Home',
logo: {
alt: 'Home',
src: 'img/logo.svg',
},
links: [
{to: 'docs/prologue', label: 'Documentation', position: 'left'},
{to: 'tutorials', label: 'Tutorials', position: 'left'},
{
href: 'https://github.com/sciwp/',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
/*
footer: {
logo: {
alt: 'Facebook Open Source Logo',
src: 'https://docusaurus.io/img/oss_logo.png',
href: 'https://opensource.facebook.com/',
},
*/
style: 'dark',
links: [
{
title: 'Documentation',
items: [
{
label: 'Framework',
to: '/docs/prologue',
},
{
label: 'Tutorials',
to: '/tutorials',
},
],
},
{
title: 'Community',
items: [
/*{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},*/
{
label: 'Discord',
href: 'https://discord.gg/dKjBhJ',
},
],
},
{
title: 'Code',
items: [
{
label: 'GitHub',
href: 'https://github.com/sciwp',
},
],
},
],
copyright: `Built by Eduardo Lázaro Rodríguez (Kenodo Ltd) with Docusaurus`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: [
[
'@docusaurus/plugin-content-blog',
{
path: 'tutorials',
routeBasePath: 'tutorials',
include: ['*.md', '*.mdx'],
},
],
'@docusaurus/plugin-content-pages',
],
};