-
Notifications
You must be signed in to change notification settings - Fork 7
/
astro.config.mjs
41 lines (39 loc) · 1.43 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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
experimental: {
assets: true
},
integrations: [
starlight({
title: 'Open Source Tips Book',
logo: {
src: './src/assets/tornado-logo.png',
},
social: {
github: 'https://github.com/CatchTheTornado/opensourcetipsbook',
},
sidebar: [
{
label: 'The Book',
items: [
{ label: 'Introduction', link: '/' },
{ label: 'Let it fly!', link: 'chapters/chapter1-let-it-fly' },
{ label: 'Marketing tips', link: 'chapters/chapter2-marketing-tips' },
{ label: 'Growth hacks', link: 'chapters/chapter3-growth-hacks' },
{ label: 'Project governance', link: 'chapters/chapter4-governing-opensource'},
{ label: 'Investing in Open Source', link: 'chapters/chapter5-investing-in-opensource'},
{ label: 'Spinning off a product', link: 'chapters/chapter6-spinning-off'},
{ label: 'Road to commercialization', link: 'chapters/chapter7-road-to-commercialization'},
{ label: 'More resources', link: 'chapters/more-resources'},
{ label: 'Make it happen!', link: 'chapters/make-it-happen'}
],
autogenerate: { directory: 'chapters' },
},
],
}),
],
// Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp
image: { service: { entrypoint: 'astro/assets/services/sharp' } },
});