-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.ts
More file actions
43 lines (41 loc) · 876 Bytes
/
Copy pathastro.config.ts
File metadata and controls
43 lines (41 loc) · 876 Bytes
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
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
const coreDirectory = "api/core";
const corePackageName = "Daht.Sagitta.Core";
const configuration = defineConfig({
integrations: [
starlight({
favicon: "./docs/public/favicon.svg",
sidebar: [
{
items: [
{
items: [
{
label: "Unit",
link: `${coreDirectory}/unit`
},
{
items: [
{
autogenerate: {
directory: `${coreDirectory}/results/`
}
}
],
label: "Results"
}
],
label: corePackageName
}
],
label: "API"
}
],
social: [{ href: "https://github.com/daht-x/sagitta", icon: "github", label: "GitHub" }],
title: "Sagitta"
})
],
srcDir: "./docs/src"
});
export default configuration;