-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.ts
More file actions
64 lines (63 loc) · 1.6 KB
/
astro.config.ts
File metadata and controls
64 lines (63 loc) · 1.6 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import starlight from "@astrojs/starlight";
// @ts-check
import { defineConfig } from "astro/config";
import starlightThemeRapidePlugin from "starlight-theme-rapide";
// https://astro.build/config
export default defineConfig({
site: "https://extra.utcode.net",
integrations: [
starlight({
title: "Extra Learn",
plugins: [starlightThemeRapidePlugin()],
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/ut-code/extralearn",
},
],
sidebar: [
{
label: "中心概念",
autogenerate: { directory: "core" },
},
{
label: "JS/TS の追加学習",
autogenerate: { directory: "js-ts" },
},
{
label: "Web API",
autogenerate: { directory: "web-api" },
},
{
label: "コーディングスタイル",
autogenerate: { directory: "coding-style" },
},
{
label: "マネジメント",
autogenerate: { directory: "management" },
},
{
label: "周辺ツール",
autogenerate: { directory: "toolchain" },
},
{
label: "フレームワークに触れる",
autogenerate: { directory: "frameworks" },
},
{
label: "その他 / 趣味置き場",
autogenerate: { directory: "utilities" },
},
],
}),
],
prefetch: {
defaultStrategy: "hover",
prefetchAll: true,
},
experimental: {
contentIntellisense: true,
clientPrerender: true,
},
});