-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
56 lines (56 loc) · 1.49 KB
/
docusaurus.config.js
File metadata and controls
56 lines (56 loc) · 1.49 KB
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
module.exports = {
title: 'My Site',
tagline: 'The tagline of my site',
url: 'https://your-docusaurus-test-site.com',
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'your-org', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name.
themeConfig: {
// algolia: {
// apiKey: 'YOUR_API_KEY',
// indexName: 'YOUR_INDEX_NAME',
// },
navbar: {
title: 'My Site',
logo: {
alt: 'My Site Logo',
src: 'img/logo.svg',
},
items: [],
},
footer: {
style: 'dark',
links: [],
copyright: `Copyright © ${new Date().getFullYear()}.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
// In order to display a link to edit your documents, please change this value.
// Refer to Docusaurus v2 documentation for more info.
// editUrl: 'http://easydita.com',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: [
// To enable the local search functionality, uncomment the following code:
// [require.resolve('@cmfcmf/docusaurus-search-local'), {
// indexDocs: true,
// docsRouteBasePath: '/',
// indexDocSidebarParentCategories: 3,
// indexPages: false,
// language: "en"
// }]
],
};