-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathastro.config.ts
56 lines (55 loc) · 1.41 KB
/
astro.config.ts
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
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: {
github: "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: "frameworks" },
},
{
label: "周辺ツール",
autogenerate: { directory: "toolchain" },
},
{
label: "コーディングスタイル",
autogenerate: { directory: "coding-style" },
},
{
label: "マネジメント",
autogenerate: { directory: "management" },
},
],
}),
],
prefetch: {
defaultStrategy: "hover",
prefetchAll: true,
},
experimental: {
contentIntellisense: true,
clientPrerender: true,
},
});