-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathastro.config.mjs
132 lines (130 loc) · 3.5 KB
/
astro.config.mjs
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
base: '/docs',
outDir: './dist/docs',
integrations: [
starlight({
title: 'OpsMaru',
customCss: ["./src/style.css"],
favicon: '/images/favicon.png',
logo: {
src: './src/assets/logo.webp'
},
head: [{
tag: 'script',
attrs: {
src: 'https://plausible.io/js/script.js',
'data-domain': 'opsmaru.com',
defer: true
}
}],
social: {
github: 'https://github.com/upmaru/opsmaru-docs'
},
sidebar: [{
label: 'Start Here',
items: [
// Each item here is one entry in the navigation menu.
{
label: 'Getting Started',
link: '/getting-started/'
}]
}, {
label: 'Infrastructure',
items: [{
label: 'Accessing your cluster',
link: '/infrastructure/accessing-your-cluster/'
}, {
label: 'Amazon',
items: [{
label: 'Credentials',
link: '/infrastructure/aws/credentials/'
}, {
label: 'SSH Keys',
link: '/infrastructure/aws/ssh-keys/'
}]
}, {
label: 'Digital Ocean',
items: [{
label: 'Credentials',
link: '/infrastructure/digitalocean/credentials/'
}, {
label: 'SSH Keys',
link: '/infrastructure/digitalocean/ssh-keys/'
}]
}]
}, {
label: 'Application',
items: [{
label: 'Connect repository',
link: '/application/connect-repository/'
}, {
label: 'Useful commands',
link: '/application/useful-commands/'
}, {
label: 'Ruby on Rails',
items: [{
label: 'Deployment',
link: '/application/rails/deployment/'
}]
}, {
label: 'Elixir / Phoenix',
items: [{
label: 'Deployment',
link: '/application/phoenix/deployment/'
}, {
label: 'Database certificate',
link: '/application/phoenix/database-certificate/'
}, {
label: 'Clustering support',
link: '/application/phoenix/clustering/'
}]
}, {
label: 'Astro',
items: [{
label: 'Static site',
link: '/application/astro/static/'
}]
}]
}, {
label: 'Build System',
items: [{
label: 'PAKman',
link: '/build/pakman/'
}, {
label: 'Github Action',
link: '/build/github-action/'
}, {
label: 'Conditional deployment',
link: '/build/conditional-deployment/'
}, {
label: 'Upgrade from v7',
link: '/build/upgrade-from-v7/'
}]
}, {
label: 'Cluster Operation',
items: [{
label: 'Uplink',
link: '/operation/uplink/'
}, {
label: 'Lite VS Pro',
link: '/operation/lite-vs-pro/'
}]
}, {
label: 'Trouble Shooting',
items: [{
label: 'Platform provisioning',
link: '/trouble-shooting/platform-provisioning/'
}]
}]
}),
react(),
tailwind({ // Disable the default base styles:
applyBaseStyles: false
})
]
});