-
Notifications
You must be signed in to change notification settings - Fork 13
/
astro.config.mjs
44 lines (43 loc) · 1.13 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
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: "DiceDB",
logo: {
replacesTitle: true,
light: "./public/dicedb-logo-light.png",
dark: "./public/dicedb-logo-dark.png",
},
customCss: ["./src/styles/docs.css"],
// themes: ['starlight-theme-light'],
// useStarlightDarkModeSwitch: false,
favicon: "/favicon.png",
sidebar: [
{
label: "Get started",
autogenerate: { directory: "get-started" },
},
// {
// label: 'Tutorials',
// autogenerate: { directory: 'tutorials' }
// },
{
label: "Commands",
autogenerate: { directory: "commands" },
},
{
label: "Metrics",
items: [
{
label: "Memtier Benchmark",
link: "https://dicedb-docs.netlify.app/metrics/memtier.html",
attrs: { target: "_blank" },
},
],
},
],
}),
],
});