Repository navigation
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
103 lines (101 loc) · 2.52 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
103 lines (101 loc) · 2.52 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
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
__webpack_public_path__ = "/cli/"
const versions = require('./versions.json');
module.exports = {
title: 'DevSpace CLI | Documentation',
tagline: 'The tagline of my site',
url: 'https://devspace.sh',
baseUrl: __webpack_public_path__,
favicon: '/img/favicon.png',
organizationName: 'loft-sh', // Usually your GitHub org/user name.
projectName: 'devspace', // Usually your repo name.
themeConfig: {
colorMode: {
disableSwitch: true
},
navbar: {
logo: {
alt: 'DevSpace',
src: '/img/logo-devspace.svg',
href: 'https://devspace.sh/',
target: '_self'
},
items: [
{
to: 'versions',
label: `${versions[0]}`,
position: 'left',
className: 'version-link'
},
{
href: 'https://devspace.sh/',
label: 'Website',
position: 'left',
target: '_self'
},
{
href: __webpack_public_path__ + 'docs/' + (process.env.NODE_ENV == 'production' ? '' : 'next/') + 'introduction',
label: 'Docs',
position: 'left',
target: '_self'
},
{
href: 'https://devspace.cloud/blog',
label: 'Blog',
position: 'left'
},
{
href: 'https://slack.k8s.io/#devspace',
className: 'slack-link',
'aria-label': 'Slack',
position: 'right',
},
{
href: 'https://github.com/loft-sh/devspace',
className: 'github-link',
'aria-label': 'GitHub',
position: 'right',
},
],
},
algolia: {
apiKey: "b9533b52dde7e23272dbd4211435c070",
indexName: "devspace-cli",
placeholder: "Search...",
algoliaOptions: {},
},
footer: {
style: 'light',
links: [],
copyright: `Copyright © ${new Date().getFullYear()} DevSpace Authors`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
path: 'pages',
routeBasePath: 'docs',
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/loft-sh/devspace/edit/master/docs/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
scripts: [
{
src:
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
async: true,
},
{
src:
'https://devspace.sh/docs.js',
async: true,
},
],
};