-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocusaurus.config.js
59 lines (59 loc) · 1.61 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
module.exports = {
title: 'Universal React',
tagline:
'An accelerator for great developer experience.',
url: 'https://github.com/',
baseUrl: '/universal-react-docs/',
favicon: 'img/favicon.ico',
projectName: 'universal-react-docs', // Usually your repo name.
trailingSlash: true,
organizationName: 'pagesource',
themeConfig: {
navbar: {
title: 'Universal React',
logo: {
alt: 'Universal React Logo',
src: 'img/logo.svg',
},
items: [
{
to: 'docs/intro',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
{
href: 'https://github.com/pagesource/universal-react-v2',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'light',
copyright: `Copyright © ${new Date().getFullYear()}, Made with ♥ by XE Community of Publicis Sapient. <br />Documentation site built with <a href="https://docusaurus.io/">Docusaurus<a/>.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/blog/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};