-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.mjs
More file actions
44 lines (43 loc) · 1.47 KB
/
astro.config.mjs
File metadata and controls
44 lines (43 loc) · 1.47 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
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'Bizarre Binary Docs',
description: 'Welcome to Bizarre Binary, your trusted companion for exploring the vast expanse of space.',
logo: {
src: './src/assets/bizarre-binary-logo.png',
replacesTitle: true,
},
social: {
github: 'https://github.com/warishco',
linkedin: 'https://www.linkedin.com/in/warish',
'x.com': 'https://x.com/warishwrites',
},
sidebar: [
{
label: 'Getting Started',
autogenerate: { directory: 'getting-started' },
},
{
label: 'Cosmic Navigation',
items: [
// Each item here is one entry in the navigation menu.
{ slug: 'cosmic-navigation/reading-star-charts-and-maps' },
{ label: 'Plotting a Course Through Space', slug: 'cosmic-navigation/plotting-course-through-space' },
'cosmic-navigation/dealing-with-gravity-and-orbit', // shorthand for an internal link
],
},
{ label: 'Spaceships and Rockets', link: 'https://www.nasa.gov/humans-in-space/spaceships-and-rockets/' }, // An external link to the NASA website.
{ label: 'Space Movie', link: 'https://en.wikipedia.org/wiki/Interstellar_(film)' },
],
tableOfContents: { minHeadingLevel: 2, maxHeadingLevel: 2 },
customCss: [
// Path to your custom CSS file
'./src/styles/style.css',
],
}),
],
});