-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
44 lines (43 loc) · 1.04 KB
/
Copy pathastro.config.mjs
File metadata and controls
44 lines (43 loc) · 1.04 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
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
site: "https://tinytools.github.io",
integrations: [
starlight({
title: "TinyTools Docs",
social: {
github: "https://github.com/TinyToolSH",
},
logo: {
src: "./src/assets/tinytools.svg",
replacesTitle: true,
},
customCss: [
// Relative path to your custom CSS file
"./src/styles/custom.css",
],
sidebar: [
{
label: "Start Here",
items: [
{ label: "About the tools", link: "/about" },
{ label: "Setup", link: "/setup" },
],
},
{
label: "Tools",
autogenerate: { directory: "tools" },
},
{
label: "Guides",
autogenerate: { directory: "guides" },
},
{
label: "Reference",
autogenerate: { directory: "reference" },
},
],
}),
],
});