-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathastro.config.mjs
66 lines (65 loc) · 1.96 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
64
65
66
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
export default defineConfig({
integrations: [
starlight({
title: 'Cosdata Documentation',
description: 'Documentation for Cosdata - The future ready AI data platform',
social: {
github: 'https://github.com/cosdata/cosdata',
discord: 'https://discord.gg/XMdtTBrtKT',
},
customCss: [
// Path to our custom CSS file
'./src/styles/custom.css',
],
head: [
// Simple favicon link
{
tag: 'link',
attrs: {
rel: 'icon',
href: '/favicon/favicon.ico',
type: 'image/x-icon'
}
}
],
sidebar: [
{
label: 'Getting Started',
items: [
{ label: 'Introduction', link: '/getting-started/introduction/' },
{ label: 'Installation & Quick Start', link: '/getting-started/installation-and-quickstart/' },
],
},
{
label: 'Features',
items: [
{ label: 'Search Relevance', link: '/features/search-relevance/' },
{ label: 'Performance', link: '/features/performance/' },
{ label: 'Benchmarks', link: '/features/benchmarks/' },
{ label: 'Customization', link: '/features/customization/' },
],
},
{
label: 'API Reference',
items: [
{ label: 'Overview', link: '/api/overview/' },
{ label: 'Cos Graph Query Language', link: '/api/cosquery/' },
{ label: 'REST API', link: '/api/documentation/' },
{ label: 'Python SDK', link: '/api/python-sdk/' },
{ label: 'Node.js SDK', link: '/api/node-sdk/' },
],
},
],
defaultLocale: 'root',
locales: {
root: {
label: 'English',
lang: 'en',
},
},
}),
],
site: 'https://docs.cosdata.io',
});