-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
66 lines (65 loc) · 2 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
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import tailwind from "@astrojs/tailwind";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
site: 'https://www.fastcron.com',
trailingSlash: 'never',
integrations: [sitemap(), tailwind(), starlight({
title: 'FastCron',
disable404Route: true,
favicon: '/images/logo.png',
customCss: ['./src/styles/docs.css'],
logo: {
light: "./public/images/logo.png",
dark: "./public/images/rush-dark.png",
alt: "FastCron",
replacesTitle: false
},
components: {
SocialIcons: './src/components/DocsHeader.astro'
},
sidebar: [
{
label: 'Getting started',
items: [
{ label: 'Welcome', link: '/docs' },
{ label: 'IP addresses', link: '/ip-addresses' },
{ label: 'FAQ', link: '/docs/faq' },
{ label: 'Changelog', link: '/changelog' },
{ label: 'Tutorials', link: '/tutorials' },
{ label: 'Notification channels', link: '/integrations' }
]
},
{
label: 'Guides',
autogenerate: { directory: 'guides' }
},
{
label: 'Troubleshooting',
collapsed: true,
autogenerate: { directory: 'troubleshooting' }
},
{
label: 'FastCron API',
items: [
{ label: 'Introduction', link: '/reference' },
{ label: 'Data structure', link: '/reference/data' },
{ label: 'cron_*', link: '/reference/cron' },
{ label: 'group_*', link: '/reference/group' },
{ label: 'account_*', link: '/reference/account' }
]
},
{
label: 'Compare to',
items: [
{ label: 'Unix crontab', link: '/crontab-alternative' },
{ label: 'cron-job.org', link: '/cron-job-org-alternative' },
{ label: 'EasyCron', link: '/easycron-alternative' }
]
}
],
}, mdx())]
});