Repository navigation
Expand file tree
/
Copy pathastro.config.mjs
More file actions
65 lines (63 loc) · 1.75 KB
/
Copy pathastro.config.mjs
File metadata and controls
65 lines (63 loc) · 1.75 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
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwindcss from '@tailwindcss/vite';
import mermaid from 'astro-mermaid';
// https://astro.build/config
export default defineConfig({
srcDir: './docs',
base: '/openrag/',
integrations: [
mermaid({
autoTheme: true
}),
starlight({
title: 'Docs',
customCss:[
'./docs/styles/global.css',
'./docs/styles/custom.css',
'@fontsource-variable/space-grotesk',
],
logo: {
src: './docs/assets/OpenRAG-title.svg',
},
editLink:{
baseUrl: 'https://github.com/linagora/openrag/edit/main',
},
tableOfContents:{
minHeadingLevel:2,
maxHeadingLevel:6,
},
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/linagora/openrag' }],
sidebar: [
{
label: 'Home',
slug: 'index'
},
{
label: 'Getting Started',
autogenerate: { directory: 'getting_started' }
},
{
label: 'Installation',
autogenerate: { directory: 'installation' }
},
{
label: 'Docs',
autogenerate: { directory: 'documentation' }
},
{
label: 'Support and Contribute',
slug: 'support-and-contribute'
},
{
label: 'License',
slug: 'license'
}
],
}),
],
vite: {
plugins: [tailwindcss()],
},
});