-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
88 lines (85 loc) · 2.73 KB
/
Copy pathastro.config.mjs
File metadata and controls
88 lines (85 loc) · 2.73 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
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
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import starlightLinksValidator from 'starlight-links-validator';
import tailwindcss from '@tailwindcss/vite';
// https://astro.build/config
export default defineConfig({
site: 'https://docs.activistchecklist.org',
integrations: [
starlight({
plugins: [starlightLinksValidator()],
components: {
ThemeProvider: './src/components/starlight/ThemeProvider.astro',
ThemeSelect: './src/components/starlight/ThemeSelect.astro',
},
title: 'Contributor Guide',
logo: {
light: './src/assets/logo-bg-transparent.png',
dark: './src/assets/logo-bg-white-transparent.png',
alt: 'Activist Checklist',
},
editLink: {
baseUrl: 'https://github.com/ActivistChecklist/contributor-docs/blob/main/',
},
lastUpdated: true,
favicon: '/favicon-32x32.png',
customCss: ['./src/styles/global.css'],
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/ActivistChecklist/contributor-docs' },
{ icon: 'blueSky', label: 'Bluesky', href: 'https://bsky.app/profile/AtivistChecklist.org' },
],
sidebar: [
{
label: 'Getting Started',
items: [
{ label: 'Homepage', slug: '' },
{ label: 'Getting started', slug: 'getting-started' },
{ label: 'Code of conduct', slug: 'getting-started/code-of-conduct' },
{ label: 'Protecting your privacy', slug: 'getting-started/protecting-your-privacy' },
],
},
{
label: 'Making Suggestions',
items: [
{ label: 'Make a suggestion', slug: 'suggestions/feedback' },
],
},
{
label: 'Editing & Writing',
items: [
{ label: 'Start editing and writing', slug: 'writing/start-writing' },
{ label: 'Using the visual editor', slug: 'writing/visual-editor' },
{ label: 'Style guide', slug: 'writing/style' },
{ label: 'Writing a guide from scratch', slug: 'writing/writing-a-guide-from-scratch' },
{ label: 'Page structure & formatting', slug: 'writing/structure' },
{ label: 'Writing content in markdown', slug: 'writing/markdown-reference' },
],
},
{
label: 'Translating',
items: [
{ label: 'Start translating', slug: 'translating/start-translating' },
{ label: 'Translation style guide', slug: 'translating/translation-style' },
],
},
{
label: 'Coding',
items: [
{ label: 'Start coding', slug: 'coding/start-coding' },
{ label: 'Anonymous commits', slug: 'coding/anonymous-commits' },
],
},
{
label: 'Reference',
items: [
{ label: 'Create an anonymous GitHub account', slug: 'reference/anonymous-github' },
],
},
],
}),
],
vite: {
plugins: [tailwindcss()],
},
});