forked from Thoxia/Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
83 lines (82 loc) · 2.08 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
site: "https://docs.thoxia.com",
integrations: [
starlight({
defaultLocale: "root",
locales: {
root: {
label: "English",
lang: "en",
},
tr: {
label: "Türkçe",
lang: "tr",
},
},
title: "THOXIA",
logo: {
src: "./src/assets/thoxia.webp",
replacesTitle: false,
},
favicon: "/thoxia.ico",
customCss: [
// Relative path to your custom CSS file
"./src/styles/thoxia.css",
],
social: {
github: "https://github.com/Thoxia",
discord: "https://discord.gg/9vcAHQnZsg",
},
sidebar: [
{
label: "Welcome",
link: "/welcome",
translations: {
tr: "Hoş geldiniz!",
},
},
{
label: "ToxicVaults",
badge: { text: "customer favorite", variant: "success" },
items: [
{
slug: "toxicvaults/info",
badge: { text: "?", variant: "default" },
},
{
label: "Features",
translations: {
tr: "Özellikler",
},
badge: { text: "⭐", variant: "tip" },
collapsed: true,
autogenerate: { directory: "toxicvaults/features" },
},
],
},
{
label: "sFarmer",
badge: { text: "new product", variant: "success" },
items: [
{
slug: "sfarmer/info",
badge: { text: "?", variant: "default" },
},
{
label: "Features",
translations: {
tr: "Özellikler",
},
badge: { text: "⭐", variant: "tip" },
collapsed: true,
autogenerate: { directory: "sfarmer/features" },
},
]
}
],
}),
],
});