Skip to content

Commit beb7900

Browse files
docs/site: Sync language reference and i18n infrastructure
1 parent 607fa8e commit beb7900

10 files changed

Lines changed: 195 additions & 639 deletions

‎docs.zenc-lang.org/config.toml‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# THE ZEN C DOCUMENTATION CONFIG
22
base_url = "https://docs.zenc-lang.org"
3-
build_search_index = true
43
default_language = "en"
54
title = "Zen C Documentation"
65
description = "Official Grimoire for the Zen C Systems Language."
@@ -19,33 +18,28 @@ external_links_target_blank = true
1918
highlight_code = true
2019
highlight_theme = "css"
2120
render_with_code_block_copy_button = true
22-
extra_syntaxes_and_themes = ["syntaxes"]
2321

2422
[search]
23+
build_search_index = true
2524
index_format = "elasticlunr_javascript"
2625

2726
[languages.de]
28-
build_search_index = true
2927
title = "Zen C Dokumentation"
3028
description = "Offizielles Grimoire für die Zen C Systemsprache."
3129

3230
[languages.es]
33-
build_search_index = true
3431
title = "Documentación de Zen C"
3532
description = "Grimorio oficial del lenguaje de sistemas Zen C."
3633

3734
[languages.it]
38-
build_search_index = true
3935
title = "Documentazione Zen C"
4036
description = "Grimorio ufficiale per il linguaggio di sistema Zen C."
4137

4238
[languages.pt]
43-
build_search_index = true
4439
title = "Documentação Zen C"
4540
description = "Grimório oficial para a linguagem de sistemas Zen C."
4641

4742
[languages.ru]
48-
build_search_index = true
4943
title = "Документация Zen C"
5044
description = "Официальный гримуар системного языка Zen C."
5145

@@ -72,7 +66,6 @@ ui-git = "Git"
7266
copyright = "© 2026 zenc-lang Org."
7367
motto = "Modern ergonomics. Pure C."
7468
project = "Project"
75-
ui-lang-name = "English"
7669
archives = "View Archives →"
7770
# Landing Page
7871
docs-tagline = "Exploring the syntax and internals of Zen C."
@@ -104,7 +97,6 @@ ui-git = "Git"
10497
copyright = "© 2026 zenc-lang Org."
10598
motto = "Moderne Ergonomie. Pures C."
10699
project = "Projekt"
107-
ui-lang-name = "Deutsch"
108100
archives = "Archive ansehen →"
109101
# Landing Page
110102
docs-tagline = "Erkunden Sie die Syntax und Interna von Zen C."
@@ -136,7 +128,6 @@ ui-git = "Git"
136128
copyright = "© 2026 zenc-lang Org."
137129
motto = "Ergonomía moderna. C puro."
138130
project = "Proyecto"
139-
ui-lang-name = "Español"
140131
archives = "Ver archivos →"
141132
# Landing Page
142133
docs-tagline = "Explorando la sintaxis y los entresijos de Zen C."
@@ -168,7 +159,6 @@ ui-git = "Git"
168159
copyright = "© 2026 zenc-lang Org."
169160
motto = "Ergonomia moderna. C puro."
170161
project = "Progetto"
171-
ui-lang-name = "Italiano"
172162
archives = "Visualizza archivi →"
173163
# Landing Page
174164
docs-tagline = "Esplorando la sintassi e gli interni di Zen C."
@@ -200,7 +190,6 @@ ui-git = "Git"
200190
copyright = "© 2026 zenc-lang Org."
201191
motto = "Ergonomia moderna. C puro."
202192
project = "Projeto"
203-
ui-lang-name = "Português"
204193
archives = "Ver arquivos →"
205194
# Landing Page
206195
docs-tagline = "Explorando a sintaxe e os internos do Zen C."
@@ -232,7 +221,6 @@ ui-git = "Git"
232221
copyright = "© 2026 zenc-lang Org."
233222
motto = "Современная эргономика. Чистый Си."
234223
project = "Проект"
235-
ui-lang-name = "Русский"
236224
archives = "Посмотреть архивы →"
237225
# Landing Page
238226
docs-tagline = "Изучение синтаксиса и внутренних механизмов Zen C."
@@ -264,7 +252,6 @@ ui-git = "Git"
264252
copyright = "© 2026 zenc-lang Org."
265253
motto = "现代人体工程学。纯粹的 C。"
266254
project = "项目"
267-
ui-lang-name = "简体中文"
268255
archives = "查看存档 →"
269256
# Landing Page
270257
docs-tagline = "探索 Zen C 的语法和内部机制。"
@@ -296,7 +283,6 @@ ui-git = "Git"
296283
copyright = "© 2026 zenc-lang Org."
297284
motto = "現代人体工程學。純粹的 C。"
298285
project = "項目"
299-
ui-lang-name = "繁體中文"
300286
archives = "查看存檔 →"
301287
# Landing Page
302288
docs-tagline = "探索 Zen C 的語法和內部機制。"

‎docs.zenc-lang.org/content/tour/05-control-flow.de.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ weight = 5
99
#### Bedingte Anweisungen
1010
```zc
1111
if x > 10 {
12-
print("Groß");
12+
print "Groß";
1313
} else if x > 5 {
14-
print("Mittel");
14+
print "Mittel";
1515
} else {
16-
print("Klein");
16+
print "Klein";
1717
}
1818
1919
// Ternäroperator
@@ -42,7 +42,7 @@ match wert {
4242
match form {
4343
Form::Kreis(r) => { println "Radius: {r}" },
4444
Form::Rechteck(w, h) => { println "Fläche: {w*h}" },
45-
Form::Punkt => { println "Punkt" },
45+
Form::Point => { println "Point" },
4646
}
4747
```
4848

‎docs.zenc-lang.org/content/tour/05-control-flow.es.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ weight = 5
99
#### Condicionales
1010
```zc
1111
if x > 10 {
12-
print("Grande");
12+
print "Grande";
1313
} else if x > 5 {
14-
print("Mediano");
14+
print "Mediano";
1515
} else {
16-
print("Pequeño");
16+
print "Pequeño";
1717
}
1818
1919
// Ternario

‎docs.zenc-lang.org/content/tour/05-control-flow.it.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ weight = 5
99
#### Condizionali
1010
```zc
1111
if x > 10 {
12-
print("Grande");
12+
print "Grande";
1313
} else if x > 5 {
14-
print("Medio");
14+
print "Medio";
1515
} else {
16-
print("Piccolo");
16+
print "Piccolo";
1717
}
1818
1919
// Operatore ternario

‎docs.zenc-lang.org/content/tour/05-control-flow.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ weight = 5
99
#### Conditionals
1010
```zc
1111
if x > 10 {
12-
print("Large");
12+
print "Large";
1313
} else if x > 5 {
14-
print("Medium");
14+
print "Medium";
1515
} else {
16-
print("Small");
16+
print "Small";
1717
}
1818
1919
// Ternary

‎docs.zenc-lang.org/content/tour/05-control-flow.pt.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ weight = 5
99
#### Condicionais
1010
```zc
1111
if x > 10 {
12-
print("Large");
12+
print "Large";
1313
} else if x > 5 {
14-
print("Medium");
14+
print "Medium";
1515
} else {
16-
print("Small");
16+
print "Small";
1717
}
1818
1919
// Condicional Ternária
@@ -40,9 +40,9 @@ match val {
4040
4141
// Desestruturando Enums
4242
match shape {
43-
Shape::Circle(r) => println "Radius: {r}",
44-
Shape::Rect(w, h) => println "Area: {w*h}",
45-
Shape::Point => println "Point"
43+
Shape::Circle(r) => { println "Radius: {r}" },
44+
Shape::Rect(w, h) => { println "Area: {w*h}" },
45+
Shape::Point => { println "Point" }
4646
}
4747
```
4848

‎docs.zenc-lang.org/content/tour/05-control-flow.ru.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ weight = 5
99
#### Условные операторы
1010
```zc
1111
if x > 10 {
12-
print("Large");
12+
print "Large";
1313
} else if x > 5 {
14-
print("Medium");
14+
print "Medium";
1515
} else {
16-
print("Small");
16+
print "Small";
1717
}
1818
1919
// Тернарно

‎docs.zenc-lang.org/content/tour/05-control-flow.zh-cn.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ weight = 5
99
#### 条件语句
1010
```zc
1111
if x > 10 {
12-
print("Large");
12+
print "Large";
1313
} else if x > 5 {
14-
print("Medium");
14+
print "Medium";
1515
} else {
16-
print("Small");
16+
print "Small";
1717
}
1818
1919
// 三元运算符

‎docs.zenc-lang.org/content/tour/05-control-flow.zh-tw.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ weight = 5
99
#### 条件语句
1010
```zc
1111
if x > 10 {
12-
print("Large");
12+
print "Large";
1313
} else if x > 5 {
14-
print("Medium");
14+
print "Medium";
1515
} else {
16-
print("Small");
16+
print "Small";
1717
}
1818
1919
// 三元運算符

0 commit comments

Comments
 (0)