/
config.js
executable file
·99 lines (96 loc) · 2.44 KB
/
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
const { removePlugin, PLUGINS } = require('@vuepress/markdown');
function formatHeading(content) {
return content;
}
module.exports = {
markdown: {
chainMarkdown(config) {
removePlugin(config, PLUGINS.EMOJI)
},
toc: {
format: formatHeading
}
},
sidebar: true,
title: 'Ymir',
head: [
['link', { rel: 'apple-touch-icon', sizes:'180x180', href: '/apple-touch-icon.png' }],
['link', { rel: 'icon', type: 'image/png', sizes:'16x16', href: '/favicon-16x16.png' }],
['link', { rel: 'icon', type: 'image/png', sizes:'32x32', href: '/favicon-32x32.png' }],
['link', { rel: 'manifest', href: '/site.webmanifest' }]
],
themeConfig: {
editLinks: false,
docsDir: '',
editLinkText: '',
lastUpdated: false,
logo: '/logo.png',
nav: [
{
text: 'Log in',
link: 'https://ymirapp.com/login',
},
{
text: 'Create account',
link: 'https://ymirapp.com/register',
}
],
sidebar: [
'introduction',
'getting-started',
'teams',
{
title: 'Projects',
collapsable: false,
children: [
'/projects/manage',
'/projects/environments',
'/projects/deploy'
]
},
{
title: 'Team Resources',
collapsable: false,
children: [
'/team-resources/caches',
'/team-resources/database-servers',
'/team-resources/dns',
'/team-resources/email',
'/team-resources/networks',
'/team-resources/ssl-certificates',
]
},
{
title: 'Guides',
children: [
'/guides/container-image-deployment',
'/guides/domain-mapping',
'/guides/scaling',
'/guides/automated-deployment',
'/guides/firewall',
'/guides/object-cache',
'/guides/cloudflare',
'/guides/new-relic',
'/guides/gd-extension',
]
},
{
title: 'Compatibility',
children: [
['/compatibility/beaver-builder', 'Beaver Builder'],
['/compatibility/elementor', 'Elementor'],
['/compatibility/oxygen', 'Oxygen'],
['/compatibility/sage-10', 'Sage 10'],
['/compatibility/woocommerce', 'WooCommerce']
]
},
{
title: 'Reference',
children: [
'/reference/configuration',
'/reference/ymir-cli'
]
}
]
}
}