-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathastro.config.mjs
63 lines (61 loc) · 1.77 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
import starlight from '@astrojs/starlight';
import { defineConfig } from 'astro/config';
import rehypeKatex from 'rehype-katex';
import remarkMath from 'remark-math';
import tailwind from '@astrojs/tailwind';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'Freix',
logo: {
light: './src/assets/freix-150x150.png',
dark: './src/assets/freix-dark-150x150.png',
},
customCss: [
'./src/tailwind.css',
'./src/styles/katex.css',
'./src/styles/index.css',
],
social: {
github: 'https://github.com/hackfest-dev/HF24-svelte-2',
},
tableOfContents: {
minHeadingLevel: 1,
maxHeadingLevel: 4,
},
sidebar: [
{
label: 'Home',
link: '/',
},
{
label: 'About',
autogenerate: {
directory: '/about',
},
},
{
label: 'Research',
autogenerate: {
directory: '/research',
},
},
{
label: 'Technical Details',
autogenerate: {
directory: '/technical',
},
},
],
}),
tailwind({
// Disable the default base styles:
applyBaseStyles: false,
}),
],
markdown: {
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
},
});