-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
73 lines (72 loc) · 2.7 KB
/
astro.config.mjs
File metadata and controls
73 lines (72 loc) · 2.7 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
65
66
67
68
69
70
71
72
73
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import tailwindcss from "@tailwindcss/vite";
import mermaid from "astro-mermaid";
export default defineConfig({
site: "https://civil-park-international.github.io",
base: "/etabs-api-python-book",
output: "static",
vite: {
plugins: [tailwindcss()],
},
integrations: [
starlight({
disable404Route: true,
locales: {
root: {
label: "ไทย",
lang: "th",
},
},
defaultLocale: "root",
title: "หนังสือคู่มือ ETABS API (Python)",
description: "คู่มือฉบับสมบูรณ์สำหรับ ETABS 19 + Python 3 + comtypes",
customCss: ["./src/styles/custom.css"],
sidebar: [
{
label: "เริ่มต้น",
items: [
{ label: "หน้าแรก", link: "/" },
{ label: "บทที่ 1 บทนำ", slug: "intro" },
{ label: "บทที่ 2 Prerequisites", slug: "prerequisites" },
{ label: "บทที่ 3 Project Setup", slug: "project-setup" },
],
},
{
label: "การใช้งานหลัก",
items: [
{ label: "บทที่ 4 เชื่อม ETABS", slug: "connect" },
{ label: "บทที่ 5 อ่านข้อมูลโมเดล", slug: "read-model" },
{ label: "บทที่ 6 รัน Analyze", slug: "analyze" },
{ label: "บทที่ 7 อ่าน Results", slug: "results" },
],
},
{
label: "ดูแลระบบ",
items: [
{ label: "บทที่ 8 COM Lifecycle", slug: "com-lifecycle" },
{ label: "บทที่ 9 Troubleshooting", slug: "troubleshooting" },
{ label: "บทที่ 10 โครงสร้างโค้ด", slug: "code-structure" },
],
},
{
label: "ใช้งานจริง",
items: [
{ label: "บทที่ 11 Daily Runbook", slug: "daily-runbook" },
{ label: "บทที่ 12 ภาคผนวก", slug: "appendix" },
{ label: "บทที่ 13 Design Results", slug: "design-results" },
],
},
{
label: "Pro Level 🚀",
items: [
{ label: "บทที่ 14 Validation", slug: "validation" },
{ label: "บทที่ 15 Optimization", slug: "optimization" },
{ label: "บทที่ 16 Testing & CI/CD", slug: "testing" },
],
},
],
}),
mermaid(),
],
});