-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.mjs
More file actions
185 lines (184 loc) · 5.93 KB
/
astro.config.mjs
File metadata and controls
185 lines (184 loc) · 5.93 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import react from "@astrojs/react";
import starlightClientMermaid from "@pasqal-io/starlight-client-mermaid";
// https://astro.build/config
export default defineConfig({
site: "https://yaptide.github.io",
base: "/for_developers",
integrations: [
react(),
starlight({
title: "YAPTIDE Developers",
tagline: "A web-based IDE for Monte Carlo particle transport simulations",
logo: {
light: "./src/assets/yaptide-logo.svg",
dark: "./src/assets/yaptide-logo.svg",
replacesTitle: false,
},
favicon: "/favicon.svg",
social: [
{ icon: "github", label: "GitHub", href: "https://github.com/yaptide" },
],
customCss: ["./src/styles/custom.css"],
editLink: {
baseUrl: "https://github.com/yaptide/for_developers/edit/main/",
},
plugins: [starlightClientMermaid()],
sidebar: [
{
label: "Home",
slug: "",
},
{
label: "Local Setup",
items: [
{
label: "Frontend Demo",
slug: "local-setup/local-frontend-demo",
},
{
label: "Full Stack - Celery Workers",
slug: "local-setup/local-celery",
},
{
label: "Full Stack - SLURM",
slug: "local-setup/local-slurm",
},
],
},
{
label: "Docker Setup",
items: [
{
label: "Frontend Demo",
slug: "docker-setup/docker-frontend-demo",
},
{
label: "Full Stack - Celery Workers",
slug: "docker-setup/docker-celery",
},
{
label: "Full Stack - SLURM",
slug: "docker-setup/docker-slurm",
},
],
},
{
label: "Architecture",
items: [
{ label: "System Overview", slug: "architecture/overview" },
{ label: "Data Flow", slug: "architecture/data-flow" },
{
label: "Project JSON Schema",
slug: "architecture/project-json-schema",
},
{ label: "Authentication Model", slug: "architecture/auth-model" },
],
},
{
label: "Orchestration Rework",
collapsed: false,
items: [
{ label: "Vision", slug: "rework-orchestration" },
{
label: "Context & Constraints",
autogenerate: { directory: "rework-orchestration/context" },
},
{
label: "Architecture Decisions",
autogenerate: { directory: "rework-orchestration/adr" },
},
{
label: "Design Documents",
autogenerate: { directory: "rework-orchestration/design" },
},
{
label: "Research Sessions",
autogenerate: { directory: "rework-orchestration/research" },
},
],
},
{
label: "Contributing",
collapsed: false,
items: [
{ label: "Contribution Guide", slug: "contributing/guide" },
{ label: "Code Style", slug: "contributing/code-style" },
{ label: "Glossary", slug: "contributing/glossary" },
],
},
{
label: "Backend",
collapsed: true,
items: [
{ label: "Overview", slug: "backend/overview" },
{ label: "API Reference", slug: "backend/api-reference" },
{ label: "Database", slug: "backend/database" },
{
label: "Simulation Lifecycle",
slug: "backend/simulation-lifecycle",
},
{
label: "Simulator Management",
slug: "backend/simulator-management",
},
{
label: "Docker Deployment",
slug: "backend/docker-deployment",
},
{ label: "Testing", slug: "backend/testing" },
],
},
{
label: "Frontend",
collapsed: true,
items: [
{ label: "Overview", slug: "frontend/overview" },
{ label: "3D Editor", slug: "frontend/3d-editor" },
{
label: "Simulation Services",
slug: "frontend/simulation-services",
},
{
label: "Pyodide Converter",
slug: "frontend/pyodide-converter",
},
{ label: "Geant4 WebAssembly", slug: "frontend/geant4-wasm" },
{ label: "Auth Flows", slug: "frontend/auth-flows" },
{ label: "Adding Commands", slug: "frontend/adding-commands" },
{ label: "Testing", slug: "frontend/testing" },
],
},
{
label: "Converter",
collapsed: true,
items: [
{ label: "Overview", slug: "converter/overview" },
{ label: "Conversion Flow", slug: "converter/conversion-flow" },
{
label: "Adding a Simulator",
slug: "converter/adding-a-simulator",
},
{ label: "SHIELD-HIT12A", slug: "converter/shieldhit" },
{ label: "FLUKA", slug: "converter/fluka" },
{ label: "Geant4", slug: "converter/geant4" },
{ label: "Testing", slug: "converter/testing" },
],
},
{
label: "API Reference",
collapsed: true,
items: [
{ label: "Overview", slug: "api-reference/overview" },
{ label: "Authentication", slug: "api-reference/auth" },
{ label: "Jobs", slug: "api-reference/jobs" },
{ label: "Results", slug: "api-reference/results" },
{ label: "User", slug: "api-reference/user" },
],
},
],
}),
],
});