-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
60 lines (59 loc) · 1.9 KB
/
Copy pathastro.config.mjs
File metadata and controls
60 lines (59 loc) · 1.9 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
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
redirects: {
'/docs': '/docs/overview',
},
integrations: [
starlight({
title: 'Gitty',
components: {
SiteTitle: './src/components/SiteTitle.astro',
},
head: [
{ tag: 'script', attrs: { src: '/a11y-widget.js', defer: true } },
],
description: 'Async-first Git for Swift. A modern libgit2 wrapper, SPM-native, for iOS & macOS.',
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/RonenMars/Gitty' },
],
customCss: ['./src/styles/custom.css'],
sidebar: [
{ label: 'Overview', slug: 'docs/overview' },
{
label: 'Getting Started',
items: [
{ label: 'Installation', slug: 'docs/getting-started/installation' },
{ label: 'Quick Start', slug: 'docs/getting-started/quick-start' },
],
},
{
label: 'Guides',
items: [
{ label: 'Repository', slug: 'docs/guides/repository' },
{ label: 'Branches', slug: 'docs/guides/branches' },
{ label: 'Commits & Staging', slug: 'docs/guides/commits' },
{ label: 'Remotes, Fetch & Push', slug: 'docs/guides/remotes' },
{ label: 'Diff', slug: 'docs/guides/diff' },
{ label: 'Merge & Rebase', slug: 'docs/guides/merge-rebase' },
{ label: 'Stash', slug: 'docs/guides/stash' },
{ label: 'Tags', slug: 'docs/guides/tags' },
{ label: 'Worktrees', slug: 'docs/guides/worktrees' },
{ label: 'Blame', slug: 'docs/guides/blame' },
{ label: 'Credentials', slug: 'docs/guides/credentials' },
],
},
{
label: 'API Reference',
items: [
{ label: 'Repository', slug: 'docs/reference/repository' },
{ label: 'Models', slug: 'docs/reference/models' },
{ label: 'Error Handling', slug: 'docs/reference/errors' },
],
},
],
}),
],
});