forked from atuinsh/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
74 lines (68 loc) · 2.11 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
import { defineConfig } from 'astro/config';
import starlightLinksValidator from 'starlight-links-validator'
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
site: "https://docs.atuin.sh",
integrations: [
starlight({
plugins: [starlightLinksValidator()],
title: 'Atuin Docs',
favicon: 'atuin.png',
head: [{
tag: 'script',
attrs: {
src: 'https://plausible.io/js/script.js',
defer: true,
'data-domain': 'docs.atuin.sh',
}
}],
logo: {
light: './src/assets/logo-light.svg',
dark: './src/assets/logo-dark.png',
replacesTitle: true,
},
social: {
github: 'https://github.com/atuinsh/atuin',
discord: 'https://discord.gg/jR3tfchVvW',
mastodon: 'https://hachyderm.io/@atuin',
twitter: 'https://twitter.com/atuinsh',
linkedin: 'https://www.linkedin.com/company/atuin/'
},
defaultLocale: "root",
locales: {
root: { label: "English", lang: "en" }
},
sidebar: [
{
label: 'Guide',
items: [
{ label: 'Installation', link: '/guide/installation' },
{ label: 'Setting up sync', link: '/guide/sync' },
{ label: 'Import existing history', link: '/guide/import' },
],
},
{
label: 'Configuration',
autogenerate: { directory: 'configuration' },
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
{
label: 'Self hosting',
items: [
{ label: 'Server setup', link: '/self-hosting/server-setup' },
{ label: 'Usage', link: '/self-hosting/usage' },
{ label: 'Docker', link: '/self-hosting/docker' },
{ label: 'Kubernetes', link: '/self-hosting/kubernetes' },
],
},
{ label: 'Known issues', link: '/known-issues' },
{ label: 'Integrations', link: '/integrations' },
{ label: 'FAQ', link: '/faq' },
],
}),
],
});