aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/docs/.vitepress/config.mts35
-rw-r--r--doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.pngbin0 -> 309025 bytes
-rw-r--r--doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.zipbin0 -> 10132610 bytes
-rw-r--r--doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.pngbin0 -> 3464576 bytes
-rw-r--r--doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.pngbin0 -> 3199600 bytes
-rw-r--r--doc/docs/.vitepress/theme/components/prism-manual.js1
-rw-r--r--doc/docs/.vitepress/theme/custom.css32
-rw-r--r--doc/docs/de/doc/advanced/the-yuescript-library.md (renamed from doc/docs/de/doc/reference/the-yuescript-library.md)0
-rw-r--r--doc/docs/de/doc/extras/license-mit.md (renamed from doc/docs/de/doc/reference/license-mit.md)0
-rw-r--r--doc/docs/de/doc/extras/mascot.md39
-rw-r--r--doc/docs/de/index.md2
-rw-r--r--doc/docs/doc/advanced/the-yuescript-library.md (renamed from doc/docs/doc/reference/the-yuescript-library.md)0
-rw-r--r--doc/docs/doc/extras/license-mit.md (renamed from doc/docs/doc/reference/license-mit.md)0
-rw-r--r--doc/docs/doc/extras/mascot.md39
-rw-r--r--doc/docs/id-id/doc/advanced/the-yuescript-library.md (renamed from doc/docs/id-id/doc/reference/the-yuescript-library.md)0
-rw-r--r--doc/docs/id-id/doc/extras/license-mit.md (renamed from doc/docs/id-id/doc/reference/license-mit.md)0
-rw-r--r--doc/docs/id-id/doc/extras/mascot.md39
-rw-r--r--doc/docs/id-id/index.md2
-rw-r--r--doc/docs/index.md2
-rw-r--r--doc/docs/pt-br/doc/advanced/the-yuescript-library.md (renamed from doc/docs/pt-br/doc/reference/the-yuescript-library.md)0
-rw-r--r--doc/docs/pt-br/doc/extras/license-mit.md (renamed from doc/docs/pt-br/doc/reference/license-mit.md)0
-rw-r--r--doc/docs/pt-br/doc/extras/mascot.md39
-rw-r--r--doc/docs/pt-br/index.md2
-rw-r--r--doc/docs/zh/doc/advanced/the-yuescript-library.md (renamed from doc/docs/zh/doc/reference/the-yuescript-library.md)0
-rw-r--r--doc/docs/zh/doc/extras/license-mit.md (renamed from doc/docs/zh/doc/reference/license-mit.md)0
-rw-r--r--doc/docs/zh/doc/extras/mascot.md39
-rw-r--r--doc/docs/zh/index.md2
27 files changed, 248 insertions, 25 deletions
diff --git a/doc/docs/.vitepress/config.mts b/doc/docs/.vitepress/config.mts
index 872791c..5a04667 100644
--- a/doc/docs/.vitepress/config.mts
+++ b/doc/docs/.vitepress/config.mts
@@ -64,6 +64,7 @@ const sidebarText = {
64 functionStubs: "Funktions-Stubs", 64 functionStubs: "Funktions-Stubs",
65 usingClause: "Die Using-Klausel; Kontrolle destruktiver Zuweisung", 65 usingClause: "Die Using-Klausel; Kontrolle destruktiver Zuweisung",
66 yuescriptLibrary: "Die YueScript-Bibliothek", 66 yuescriptLibrary: "Die YueScript-Bibliothek",
67 mascot: "Maskottchen – Xiaoyu",
67 licenseMit: "Lizenz: MIT", 68 licenseMit: "Lizenz: MIT",
68 }, 69 },
69 en: { 70 en: {
@@ -99,6 +100,7 @@ const sidebarText = {
99 functionStubs: "Function Stubs", 100 functionStubs: "Function Stubs",
100 usingClause: "The Using Clause; Controlling Destructive Assignment", 101 usingClause: "The Using Clause; Controlling Destructive Assignment",
101 yuescriptLibrary: "The YueScript Library", 102 yuescriptLibrary: "The YueScript Library",
103 mascot: "Mascot - Xiaoyu",
102 licenseMit: "License: MIT", 104 licenseMit: "License: MIT",
103 }, 105 },
104 idId: { 106 idId: {
@@ -134,6 +136,7 @@ const sidebarText = {
134 functionStubs: "Fungsi Sementara", 136 functionStubs: "Fungsi Sementara",
135 usingClause: "Klausa Using; Mengontrol Penugasan Destruktif", 137 usingClause: "Klausa Using; Mengontrol Penugasan Destruktif",
136 yuescriptLibrary: "Pustaka YueScript", 138 yuescriptLibrary: "Pustaka YueScript",
139 mascot: "Maskot – Xiaoyu",
137 licenseMit: "Lisensi: MIT", 140 licenseMit: "Lisensi: MIT",
138 }, 141 },
139 ptBr: { 142 ptBr: {
@@ -169,6 +172,7 @@ const sidebarText = {
169 functionStubs: "Stubs de função", 172 functionStubs: "Stubs de função",
170 usingClause: "Cláusula using; controlando atribuição destrutiva", 173 usingClause: "Cláusula using; controlando atribuição destrutiva",
171 yuescriptLibrary: "A biblioteca do YueScript", 174 yuescriptLibrary: "A biblioteca do YueScript",
175 mascot: "Mascote – Xiaoyu",
172 licenseMit: "Licença: MIT", 176 licenseMit: "Licença: MIT",
173 }, 177 },
174 zh: { 178 zh: {
@@ -204,6 +208,7 @@ const sidebarText = {
204 functionStubs: "函数存根", 208 functionStubs: "函数存根",
205 usingClause: "使用 using 语句:防止破坏性赋值", 209 usingClause: "使用 using 语句:防止破坏性赋值",
206 yuescriptLibrary: "月之脚本语言库", 210 yuescriptLibrary: "月之脚本语言库",
211 mascot: "吉祥物 – 小玉",
207 licenseMit: "MIT 许可证", 212 licenseMit: "MIT 许可证",
208 }, 213 },
209} as const; 214} as const;
@@ -219,7 +224,7 @@ type SidebarGroupText = {
219 dataStructures: string; 224 dataStructures: string;
220 objects: string; 225 objects: string;
221 advancedFeatures: string; 226 advancedFeatures: string;
222 reference: string; 227 extras: string;
223}; 228};
224 229
225const sidebarGroups: Record<SidebarLocale, SidebarGroupText> = { 230const sidebarGroups: Record<SidebarLocale, SidebarGroupText> = {
@@ -232,7 +237,7 @@ const sidebarGroups: Record<SidebarLocale, SidebarGroupText> = {
232 dataStructures: "Datenstrukturen", 237 dataStructures: "Datenstrukturen",
233 objects: "Objekte", 238 objects: "Objekte",
234 advancedFeatures: "Erweiterte Funktionen", 239 advancedFeatures: "Erweiterte Funktionen",
235 reference: "Referenz", 240 extras: "Extras",
236 }, 241 },
237 en: { 242 en: {
238 gettingStarted: "Getting Started", 243 gettingStarted: "Getting Started",
@@ -243,7 +248,7 @@ const sidebarGroups: Record<SidebarLocale, SidebarGroupText> = {
243 dataStructures: "Data Structures", 248 dataStructures: "Data Structures",
244 objects: "Objects", 249 objects: "Objects",
245 advancedFeatures: "Advanced Features", 250 advancedFeatures: "Advanced Features",
246 reference: "Reference", 251 extras: "Extras",
247 }, 252 },
248 idId: { 253 idId: {
249 gettingStarted: "Memulai", 254 gettingStarted: "Memulai",
@@ -254,7 +259,7 @@ const sidebarGroups: Record<SidebarLocale, SidebarGroupText> = {
254 dataStructures: "Struktur Data", 259 dataStructures: "Struktur Data",
255 objects: "Objek", 260 objects: "Objek",
256 advancedFeatures: "Fitur Lanjutan", 261 advancedFeatures: "Fitur Lanjutan",
257 reference: "Referensi", 262 extras: "Ekstra",
258 }, 263 },
259 ptBr: { 264 ptBr: {
260 gettingStarted: "Primeiros passos", 265 gettingStarted: "Primeiros passos",
@@ -265,7 +270,7 @@ const sidebarGroups: Record<SidebarLocale, SidebarGroupText> = {
265 dataStructures: "Estruturas de dados", 270 dataStructures: "Estruturas de dados",
266 objects: "Objetos", 271 objects: "Objetos",
267 advancedFeatures: "Recursos avançados", 272 advancedFeatures: "Recursos avançados",
268 reference: "Referência", 273 extras: "Extras",
269 }, 274 },
270 zh: { 275 zh: {
271 gettingStarted: "起步", 276 gettingStarted: "起步",
@@ -276,7 +281,7 @@ const sidebarGroups: Record<SidebarLocale, SidebarGroupText> = {
276 dataStructures: "数据结构", 281 dataStructures: "数据结构",
277 objects: "面向对象", 282 objects: "面向对象",
278 advancedFeatures: "高级特性", 283 advancedFeatures: "高级特性",
279 reference: "", 284 extras: "",
280 }, 285 },
281}; 286};
282 287
@@ -414,17 +419,18 @@ function createSidebar(basePath: string, locale: SidebarLocale) {
414 }, 419 },
415 { text: text.do, link: `${basePath}/advanced/do` }, 420 { text: text.do, link: `${basePath}/advanced/do` },
416 { text: text.try, link: `${basePath}/advanced/try` }, 421 { text: text.try, link: `${basePath}/advanced/try` },
422 {
423 text: text.yuescriptLibrary,
424 link: `${basePath}/advanced/the-yuescript-library`,
425 },
417 ], 426 ],
418 }, 427 },
419 { 428 {
420 text: group.reference, 429 text: group.extras,
421 collapsed: true, 430 collapsed: true,
422 items: [ 431 items: [
423 { 432 { text: text.mascot, link: `${basePath}/extras/mascot` },
424 text: text.yuescriptLibrary, 433 { text: text.licenseMit, link: `${basePath}/extras/license-mit` },
425 link: `${basePath}/reference/the-yuescript-library`,
426 },
427 { text: text.licenseMit, link: `${basePath}/reference/license-mit` },
428 ], 434 ],
429 }, 435 },
430 ]; 436 ];
@@ -450,7 +456,10 @@ export default defineConfig({
450 }, 456 },
451 ], 457 ],
452 ["meta", { property: "og:type", content: "website" }], 458 ["meta", { property: "og:type", content: "website" }],
453 ["meta", { property: "og:image", content: withBase("/image/yuescript.png") }], 459 [
460 "meta",
461 { property: "og:image", content: withBase("/image/yuescript.png") },
462 ],
454 [ 463 [
455 "meta", 464 "meta",
456 { 465 {
diff --git a/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png b/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png
new file mode 100644
index 0000000..4c5ff87
--- /dev/null
+++ b/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png
Binary files differ
diff --git a/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.zip b/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.zip
new file mode 100644
index 0000000..e84ff36
--- /dev/null
+++ b/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.zip
Binary files differ
diff --git a/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png b/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png
new file mode 100644
index 0000000..fdf8475
--- /dev/null
+++ b/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png
Binary files differ
diff --git a/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png b/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png
new file mode 100644
index 0000000..90e4f47
--- /dev/null
+++ b/doc/docs/.vitepress/public/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png
Binary files differ
diff --git a/doc/docs/.vitepress/theme/components/prism-manual.js b/doc/docs/.vitepress/theme/components/prism-manual.js
index 8f73abd..076dcf3 100644
--- a/doc/docs/.vitepress/theme/components/prism-manual.js
+++ b/doc/docs/.vitepress/theme/components/prism-manual.js
@@ -4,4 +4,3 @@ if (typeof window !== "undefined") {
4 window.Prism = window.Prism || {}; 4 window.Prism = window.Prism || {};
5 window.Prism.manual = true; 5 window.Prism.manual = true;
6} 6}
7
diff --git a/doc/docs/.vitepress/theme/custom.css b/doc/docs/.vitepress/theme/custom.css
index 4050784..7e3a04b 100644
--- a/doc/docs/.vitepress/theme/custom.css
+++ b/doc/docs/.vitepress/theme/custom.css
@@ -40,16 +40,36 @@
40 --vp-c-text-2: #4a5568; 40 --vp-c-text-2: #4a5568;
41} 41}
42 42
43/* Hero image - enlarge container to fit 450px image without overflow */ 43/* Hero image - adjust container to fit mascot artwork without overflow */
44@media (min-width: 960px) { 44@media (min-width: 960px) {
45 .VPHero .image-container { 45 .VPHero .image-container {
46 width: 450px !important; 46 width: 420px !important;
47 }
48
49 .VPHero .image-src {
50 margin-top: 2.7rem !important;
51 padding-bottom: 2.7rem !important;
47 } 52 }
48} 53}
49 54
50.VPHero :deep(.image-src) { 55@media (max-width: 960px) {
51 max-width: 450px; 56 .VPHero .image-src {
52 max-height: 450px; 57 margin-top: 1rem !important;
58 padding-bottom: 3.2rem !important;
59 }
60}
61
62@media (max-width: 639px) {
63 .VPHero .image-src {
64 margin-top: 3.2rem !important;
65 padding-bottom: 7.4rem !important;
66 }
67}
68
69.VPHero .image-src {
70 max-width: 420px;
71 max-height: 360px;
72 object-fit: contain;
53} 73}
54 74
55/* --- DARK MODE THEME (Midnight Blue) --- */ 75/* --- DARK MODE THEME (Midnight Blue) --- */
@@ -221,4 +241,4 @@ h6,
221/* Slight adjustment to code block background to fit the midnight theme */ 241/* Slight adjustment to code block background to fit the midnight theme */
222.dark .vp-code-group .tabs label { 242.dark .vp-code-group .tabs label {
223 background-color: #1a1f2e; 243 background-color: #1a1f2e;
224} \ No newline at end of file 244}
diff --git a/doc/docs/de/doc/reference/the-yuescript-library.md b/doc/docs/de/doc/advanced/the-yuescript-library.md
index 0c371bf..0c371bf 100644
--- a/doc/docs/de/doc/reference/the-yuescript-library.md
+++ b/doc/docs/de/doc/advanced/the-yuescript-library.md
diff --git a/doc/docs/de/doc/reference/license-mit.md b/doc/docs/de/doc/extras/license-mit.md
index a5e9f70..a5e9f70 100644
--- a/doc/docs/de/doc/reference/license-mit.md
+++ b/doc/docs/de/doc/extras/license-mit.md
diff --git a/doc/docs/de/doc/extras/mascot.md b/doc/docs/de/doc/extras/mascot.md
new file mode 100644
index 0000000..ad0e982
--- /dev/null
+++ b/doc/docs/de/doc/extras/mascot.md
@@ -0,0 +1,39 @@
1# Maskottchen – Xiaoyu
2
3## Über
4
5<img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png" alt="Xiaoyu das Cyber-Kaninchen" style="max-width: 420px; width: 100%; border-radius: 12px; margin-bottom: 1.5em;" />
6
7Xiaoyu (小玉, „kleines Jade") ist ein Cyber-Kaninchen und das offizielle Maskottchen des YueScript-Projekts. Man findet sie meistens auf einer Mondsichel sitzend, an ihrem Laptop tüftelnd – natürlich YueScript schreibend.
8
9Ihr vollständiger Titel ist Xiaoyu das Cyber-Kaninchen (机兔小玉), und sie verkörpert alles, was YueScript sein möchte: elegant, ausdrucksstark und ein kleines bisschen verspielt.
10
11Xiaoyu wurde von **[Tyson Tan](https://tysontan.com)** entworfen und illustriert, der sie großzügigerweise kostenlos für das Projekt erstellt hat – wofür wir unglaublich dankbar sind.
12
13## Bilder
14
15Hochauflösende Kunstwerke stehen unten zum Download bereit. Klicken Sie auf ein Bild, um es in voller Größe zu öffnen.
16
17### Vollständiges Kunstwerk
18
19<a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" target="_blank">
20 <img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" alt="Xiaoyu — vollständiges Kunstwerk mit Hintergrund" style="max-width: 480px; width: 100%; border-radius: 12px;" />
21</a>
22
23<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" download>Vollständiges PNG herunterladen</a></p>
24
25### Transparenter Hintergrund
26
27<a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" target="_blank">
28 <img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" alt="Xiaoyu — transparenter Hintergrund" style="max-width: 480px; width: 100%; border-radius: 12px;" />
29</a>
30
31<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" download>Transparentes PNG herunterladen</a></p>
32
33### Gezippte .kra-Datei
34
35<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.zip" download>Gezippte .kra-Datei herunterladen</a></p>
36
37## Lizenz
38
39Xiaoyu ist unter der [MIT-Lizenz](https://opensource.org/licenses/MIT) und der Creative-Commons-Lizenz [CC‑BY‑SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) doppelt lizenziert.
diff --git a/doc/docs/de/index.md b/doc/docs/de/index.md
index 94bd00f..d9ebff0 100644
--- a/doc/docs/de/index.md
+++ b/doc/docs/de/index.md
@@ -4,7 +4,7 @@ hero:
4 name: YueScript 4 name: YueScript
5 tagline: Eine Sprache, die zu Lua kompiliert 5 tagline: Eine Sprache, die zu Lua kompiliert
6 image: 6 image:
7 src: /image/yuescript.svg 7 src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png
8 alt: YueScript 8 alt: YueScript
9 actions: 9 actions:
10 - theme: brand 10 - theme: brand
diff --git a/doc/docs/doc/reference/the-yuescript-library.md b/doc/docs/doc/advanced/the-yuescript-library.md
index 817bfab..817bfab 100644
--- a/doc/docs/doc/reference/the-yuescript-library.md
+++ b/doc/docs/doc/advanced/the-yuescript-library.md
diff --git a/doc/docs/doc/reference/license-mit.md b/doc/docs/doc/extras/license-mit.md
index 49eae7e..49eae7e 100644
--- a/doc/docs/doc/reference/license-mit.md
+++ b/doc/docs/doc/extras/license-mit.md
diff --git a/doc/docs/doc/extras/mascot.md b/doc/docs/doc/extras/mascot.md
new file mode 100644
index 0000000..028d17f
--- /dev/null
+++ b/doc/docs/doc/extras/mascot.md
@@ -0,0 +1,39 @@
1# Mascot - Xiaoyu
2
3## About
4
5<img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png" alt="Xiaoyu the Cyber Rabbit" style="max-width: 420px; width: 100%; border-radius: 12px; margin-bottom: 1.5em;" />
6
7Xiaoyu (小玉, "little jade") is a cyber rabbit and the official mascot of the YueScript project. She can usually be found perched atop a crescent moon, tinkering away on her laptop - writing YueScript, naturally.
8
9Her full title is Xiaoyu the Cyber Rabbit (机兔小玉), and she embodies everything YueScript strives to be: elegant, expressive, and a little bit playful.
10
11Xiaoyu was designed and illustrated by **[Tyson Tan](https://tysontan.com)**, who generously created her for the project free of charge - something we're incredibly grateful for.
12
13## Images
14
15Full‑resolution artwork is available for download below. Click any image to open it at full size.
16
17### Full Artwork
18
19<a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" target="_blank">
20 <img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" alt="Xiaoyu — full artwork with background" style="max-width: 480px; width: 100%; border-radius: 12px;" />
21</a>
22
23<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" download>Download full-size PNG</a></p>
24
25### Transparent Background
26
27<a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" target="_blank">
28 <img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" alt="Xiaoyu — transparent background" style="max-width: 480px; width: 100%; border-radius: 12px;" />
29</a>
30
31<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" download>Download transparent PNG</a></p>
32
33### Zipped .kra File
34
35<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.zip" download>Download zipped .kra file</a></p>
36
37## License
38
39Xiaoyu is dual‑licensed under the [MIT License](https://opensource.org/licenses/MIT) and the Creative Commons [CC‑BY‑SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
diff --git a/doc/docs/id-id/doc/reference/the-yuescript-library.md b/doc/docs/id-id/doc/advanced/the-yuescript-library.md
index 3adfe63..3adfe63 100644
--- a/doc/docs/id-id/doc/reference/the-yuescript-library.md
+++ b/doc/docs/id-id/doc/advanced/the-yuescript-library.md
diff --git a/doc/docs/id-id/doc/reference/license-mit.md b/doc/docs/id-id/doc/extras/license-mit.md
index 5289f50..5289f50 100644
--- a/doc/docs/id-id/doc/reference/license-mit.md
+++ b/doc/docs/id-id/doc/extras/license-mit.md
diff --git a/doc/docs/id-id/doc/extras/mascot.md b/doc/docs/id-id/doc/extras/mascot.md
new file mode 100644
index 0000000..1b16706
--- /dev/null
+++ b/doc/docs/id-id/doc/extras/mascot.md
@@ -0,0 +1,39 @@
1# Maskot – Xiaoyu
2
3## Tentang
4
5<img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png" alt="Xiaoyu si Kelinci Siber" style="max-width: 420px; width: 100%; border-radius: 12px; margin-bottom: 1.5em;" />
6
7Xiaoyu (小玉, "giok kecil") adalah seekor kelinci siber dan maskot resmi proyek YueScript. Ia biasanya ditemukan bertengger di atas bulan sabit, mengutak-atik laptopnya – menulis YueScript, tentu saja.
8
9Gelar lengkapnya adalah Xiaoyu si Kelinci Siber (机兔小玉), dan ia mewujudkan segala hal yang dicita-citakan YueScript: elegan, ekspresif, dan sedikit menyenangkan.
10
11Xiaoyu dirancang dan diilustrasikan oleh **[Tyson Tan](https://tysontan.com)**, yang dengan murah hati menciptakannya untuk proyek ini secara gratis – sesuatu yang sangat kami syukuri.
12
13## Gambar
14
15Karya seni resolusi penuh tersedia untuk diunduh di bawah ini. Klik gambar mana saja untuk membukanya dalam ukuran penuh.
16
17### Karya Seni Lengkap
18
19<a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" target="_blank">
20 <img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" alt="Xiaoyu — karya seni lengkap dengan latar belakang" style="max-width: 480px; width: 100%; border-radius: 12px;" />
21</a>
22
23<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" download>Unduh PNG ukuran penuh</a></p>
24
25### Latar Belakang Transparan
26
27<a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" target="_blank">
28 <img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" alt="Xiaoyu — latar belakang transparan" style="max-width: 480px; width: 100%; border-radius: 12px;" />
29</a>
30
31<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" download>Unduh PNG transparan</a></p>
32
33### File .kra Terkompresi
34
35<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.zip" download>Unduh file .kra terkompresi</a></p>
36
37## Lisensi
38
39Xiaoyu dilisensikan ganda di bawah [Lisensi MIT](https://opensource.org/licenses/MIT) dan Creative Commons [CC‑BY‑SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
diff --git a/doc/docs/id-id/index.md b/doc/docs/id-id/index.md
index c8b5fab..feef760 100644
--- a/doc/docs/id-id/index.md
+++ b/doc/docs/id-id/index.md
@@ -4,7 +4,7 @@ hero:
4 name: YueScript 4 name: YueScript
5 tagline: Bahasa yang dikompilasi ke Lua 5 tagline: Bahasa yang dikompilasi ke Lua
6 image: 6 image:
7 src: /image/yuescript.svg 7 src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png
8 alt: YueScript 8 alt: YueScript
9 actions: 9 actions:
10 - theme: brand 10 - theme: brand
diff --git a/doc/docs/index.md b/doc/docs/index.md
index 016b688..7d34f11 100644
--- a/doc/docs/index.md
+++ b/doc/docs/index.md
@@ -4,7 +4,7 @@ hero:
4 name: YueScript 4 name: YueScript
5 tagline: A language that compiles to Lua 5 tagline: A language that compiles to Lua
6 image: 6 image:
7 src: /image/yuescript.svg 7 src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png
8 alt: YueScript 8 alt: YueScript
9 actions: 9 actions:
10 - theme: brand 10 - theme: brand
diff --git a/doc/docs/pt-br/doc/reference/the-yuescript-library.md b/doc/docs/pt-br/doc/advanced/the-yuescript-library.md
index 7775cd5..7775cd5 100644
--- a/doc/docs/pt-br/doc/reference/the-yuescript-library.md
+++ b/doc/docs/pt-br/doc/advanced/the-yuescript-library.md
diff --git a/doc/docs/pt-br/doc/reference/license-mit.md b/doc/docs/pt-br/doc/extras/license-mit.md
index 0e00e90..0e00e90 100644
--- a/doc/docs/pt-br/doc/reference/license-mit.md
+++ b/doc/docs/pt-br/doc/extras/license-mit.md
diff --git a/doc/docs/pt-br/doc/extras/mascot.md b/doc/docs/pt-br/doc/extras/mascot.md
new file mode 100644
index 0000000..e2ff951
--- /dev/null
+++ b/doc/docs/pt-br/doc/extras/mascot.md
@@ -0,0 +1,39 @@
1# Mascote – Xiaoyu
2
3## Sobre
4
5<img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png" alt="Xiaoyu, a Coelha Cibernética" style="max-width: 420px; width: 100%; border-radius: 12px; margin-bottom: 1.5em;" />
6
7Xiaoyu (小玉, "pequeno jade") é uma coelha cibernética e a mascote oficial do projeto YueScript. Ela geralmente pode ser encontrada empoleirada em uma lua crescente, mexendo em seu laptop – escrevendo YueScript, naturalmente.
8
9Seu título completo é Xiaoyu, a Coelha Cibernética (机兔小玉), e ela incorpora tudo o que o YueScript aspira ser: elegante, expressivo e um pouquinho divertido.
10
11Xiaoyu foi projetada e ilustrada por **[Tyson Tan](https://tysontan.com)**, que generosamente a criou para o projeto de forma gratuita – algo pelo qual somos incrivelmente gratos.
12
13## Imagens
14
15Artes em resolução completa estão disponíveis para download abaixo. Clique em qualquer imagem para abri-la em tamanho real.
16
17### Arte Completa
18
19<a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" target="_blank">
20 <img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" alt="Xiaoyu — arte completa com fundo" style="max-width: 480px; width: 100%; border-radius: 12px;" />
21</a>
22
23<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" download>Baixar PNG em tamanho real</a></p>
24
25### Fundo Transparente
26
27<a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" target="_blank">
28 <img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" alt="Xiaoyu — fundo transparente" style="max-width: 480px; width: 100%; border-radius: 12px;" />
29</a>
30
31<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" download>Baixar PNG transparente</a></p>
32
33### Arquivo .kra Compactado
34
35<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.zip" download>Baixar arquivo .kra compactado</a></p>
36
37## Licença
38
39Xiaoyu é duplamente licenciada sob a [Licença MIT](https://opensource.org/licenses/MIT) e a Creative Commons [CC‑BY‑SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
diff --git a/doc/docs/pt-br/index.md b/doc/docs/pt-br/index.md
index e62095f..ce0a516 100644
--- a/doc/docs/pt-br/index.md
+++ b/doc/docs/pt-br/index.md
@@ -4,7 +4,7 @@ hero:
4 name: YueScript 4 name: YueScript
5 tagline: Uma linguagem que compila para Lua 5 tagline: Uma linguagem que compila para Lua
6 image: 6 image:
7 src: /image/yuescript.svg 7 src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png
8 alt: YueScript 8 alt: YueScript
9 actions: 9 actions:
10 - theme: brand 10 - theme: brand
diff --git a/doc/docs/zh/doc/reference/the-yuescript-library.md b/doc/docs/zh/doc/advanced/the-yuescript-library.md
index 9565b01..9565b01 100644
--- a/doc/docs/zh/doc/reference/the-yuescript-library.md
+++ b/doc/docs/zh/doc/advanced/the-yuescript-library.md
diff --git a/doc/docs/zh/doc/reference/license-mit.md b/doc/docs/zh/doc/extras/license-mit.md
index 7979663..7979663 100644
--- a/doc/docs/zh/doc/reference/license-mit.md
+++ b/doc/docs/zh/doc/extras/license-mit.md
diff --git a/doc/docs/zh/doc/extras/mascot.md b/doc/docs/zh/doc/extras/mascot.md
new file mode 100644
index 0000000..cc6c80e
--- /dev/null
+++ b/doc/docs/zh/doc/extras/mascot.md
@@ -0,0 +1,39 @@
1# 吉祥物 – 小玉
2
3## 简介
4
5<img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png" alt="机兔小玉" style="max-width: 420px; width: 100%; border-radius: 12px; margin-bottom: 1.5em;" />
6
7小玉(Xiaoyu,意为"小小的玉")是一只赛博兔,也是 YueScript 项目的官方吉祥物。她通常栖息在一弯新月之上,在笔记本电脑上忙碌着——当然是在写 YueScript。
8
9她的全称是机兔小玉,体现了 YueScript 所追求的一切:优雅、富有表现力,还带着一点俏皮。
10
11小玉由 **[Tyson Tan](https://tysontan.com)** 设计和绘制,他慷慨地免费为本项目创作了她——我们对此深表感激。
12
13## 图片
14
15以下提供全分辨率画作供下载。点击任意图片可查看原始尺寸。
16
17### 完整画作
18
19<a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" target="_blank">
20 <img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" alt="小玉 — 含背景的完整画作" style="max-width: 480px; width: 100%; border-radius: 12px;" />
21</a>
22
23<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_full.png" download>下载完整 PNG</a></p>
24
25### 透明背景
26
27<a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" target="_blank">
28 <img src="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" alt="小玉 — 透明背景" style="max-width: 480px; width: 100%; border-radius: 12px;" />
29</a>
30
31<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu_trans.png" download>下载透明背景 PNG</a></p>
32
33### .kra 压缩文件
34
35<p><a href="/image/mascot/electrichearts_20260211A_yuescript_xiaoyu.zip" download>下载 .kra 压缩文件</a></p>
36
37## 许可证
38
39小玉采用 [MIT 许可证](https://opensource.org/licenses/MIT) 和知识共享 [CC‑BY‑SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) 双重许可。
diff --git a/doc/docs/zh/index.md b/doc/docs/zh/index.md
index 4e518b9..0146468 100644
--- a/doc/docs/zh/index.md
+++ b/doc/docs/zh/index.md
@@ -4,7 +4,7 @@ hero:
4 name: 月之脚本 4 name: 月之脚本
5 tagline: 一门编译到 Lua 的语言 5 tagline: 一门编译到 Lua 的语言
6 image: 6 image:
7 src: /image/yuescript.svg 7 src: /image/mascot/electrichearts_20260211A_yuescript_xiaoyu.png
8 alt: 月之脚本 8 alt: 月之脚本
9 actions: 9 actions:
10 - theme: brand 10 - theme: brand