This repository has been archived by the owner on Aug 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docusaurus.config.js
executable file
·79 lines (73 loc) · 1.91 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
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = {
title: 'Shipyard',
tagline: 'Modern cloud native development environments',
url: 'https://shipyard.run',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'shipyard-run', // Usually your GitHub org/user name.
projectName: 'shipyard-website', // Usually your repo name.
themeConfig: {
navbar: {
title: '',
logo: {
alt: 'Shipyard Logo',
src: 'img/shipyard_horizontal.png',
},
items: [
{to: 'docs/install', label: 'Docs', position: 'left'},
/*
{to: 'blog', label: 'Blog', position: 'left'},
*/
{
href: 'https://github.com/shipyard-run/shipyard',
label: 'GitHub',
position: 'right',
},
],
},
algolia: {
apiKey: 'YOUR_API_KEY',
indexName: 'YOUR_INDEX_NAME',
// Optional: see doc section below
contextualSearch: true,
// Optional: see doc section below
appId: 'YOUR_APP_ID',
// Optional: Algolia search parameters
searchParameters: {},
//... other Algolia params
},
googleAnalytics: {
trackingID: 'UA-158626649-1',
},
footer: {
style: 'dark',
logo: {
/*
alt: 'Facebook Open Source Logo',
src: 'https://docusaurus.io/img/oss_logo.png',
href: 'https://opensource.facebook.com/',
*/
},
copyright: `Copyright © ${new Date().getFullYear()} Shipyard, Inc. Built with Docusaurus.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};