Skip to content

Commit df4c896

Browse files
Add permalinks and update deployment
1 parent f19e4cb commit df4c896

38 files changed

+101
-61
lines changed

_config.yml

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -33,48 +33,48 @@ plugins:
3333
# Navigation
3434
nav:
3535
- title: "Getting Started"
36-
url: "/getting-started/"
36+
url: "/en/docs/getting-started/"
3737
children:
3838
- title: "Installation"
39-
url: "/getting-started/installation/"
39+
url: "/en/docs/getting-started/installation/"
4040
- title: "Quick Start"
41-
url: "/getting-started/quick-start/"
41+
url: "/en/docs/getting-started/quick-start/"
4242
- title: "REPL Guide"
43-
url: "/getting-started/repl/"
43+
url: "/en/docs/getting-started/repl/"
4444
- title: "Language Guide"
45-
url: "/language-guide/"
45+
url: "/en/docs/language-guide/"
4646
children:
4747
- title: "Overview"
48-
url: "/language-guide/"
48+
url: "/en/docs/language-guide/"
4949
- title: "Syntax Reference"
50-
url: "/language-guide/syntax/"
50+
url: "/en/docs/language-guide/syntax/"
5151
- title: "Keywords"
52-
url: "/language-guide/keywords/"
52+
url: "/en/docs/language-guide/keywords/"
5353
- title: "Control Flow"
54-
url: "/language-guide/control-flow/"
54+
url: "/en/docs/language-guide/control-flow/"
5555
- title: "Functions & Classes"
56-
url: "/language-guide/functions-classes/"
56+
url: "/en/docs/language-guide/functions-classes/"
5757
- title: "Async & Generators"
58-
url: "/language-guide/async-generators/"
58+
url: "/en/docs/language-guide/async-generators/"
5959
- title: "All 17 Languages"
60-
url: "/language-guide/all-languages/"
60+
url: "/en/docs/language-guide/all-languages/"
6161
- title: "Guide Français"
62-
url: "/language-guide/french/"
62+
url: "/en/docs/language-guide/french/"
6363
- title: "Reference"
64-
url: "/reference/"
64+
url: "/en/docs/reference/"
6565
children:
6666
- title: "Language Concepts"
67-
url: "/reference/"
67+
url: "/en/docs/reference/"
6868
- title: "Built-in Aliases"
69-
url: "/reference/builtins/"
69+
url: "/en/docs/reference/builtins/"
7070
- title: "Operators"
71-
url: "/reference/operators/"
71+
url: "/en/docs/reference/operators/"
7272
- title: "Numerals"
73-
url: "/reference/numerals/"
73+
url: "/en/docs/reference/numerals/"
7474
- title: "Date & Time"
75-
url: "/reference/datetime/"
75+
url: "/en/docs/reference/datetime/"
7676
- title: "Compatibility Matrix"
77-
url: "/reference/compatibility/"
77+
url: "/en/docs/reference/compatibility/"
7878
- title: "WASM Backend"
7979
url: "/wasm/"
8080
children:
@@ -162,5 +162,9 @@ exclude:
162162
- vendor/ruby/
163163
- ".sass-cache"
164164
- ".jekyll-cache"
165-
- "docs/"
165+
- "docs/snippets/"
166+
- "docs/routing/"
167+
- "docs/i18n/"
168+
- "docs/schemas/"
169+
- "docs/README.md"
166170
- "scripts/"

docs/content/en/getting-started/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ path_segments:
66
- getting-started
77
source_hash: 9b9c8ca97172
88
status: source
9+
permalink: /en/docs/getting-started/
910
---
1011

1112
## What is multilingual?
@@ -200,23 +201,23 @@ multilingual --version
200201
<div class="card-grid">
201202

202203
<div class="card">
203-
<a href="/getting-started/installation/">
204+
<a href="/en/docs/getting-started/installation/">
204205
<span class="card-icon">📦</span>
205206
<h3>Installation Details</h3>
206207
<p>Platform-specific setup, WASM requirements, virtual environments.</p>
207208
</a>
208209
</div>
209210

210211
<div class="card">
211-
<a href="/getting-started/quick-start/">
212+
<a href="/en/docs/getting-started/quick-start/">
212213
<span class="card-icon">🚀</span>
213214
<h3>Quick Start Examples</h3>
214215
<p>10-minute tour of the main language features.</p>
215216
</a>
216217
</div>
217218

218219
<div class="card">
219-
<a href="/language-guide/">
220+
<a href="/en/docs/language-guide/">
220221
<span class="card-icon">📖</span>
221222
<h3>Language Guide</h3>
222223
<p>Complete syntax reference for all 17 languages.</p>

docs/content/en/getting-started/installation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ path_segments:
77
- installation
88
source_hash: 7febf671956e
99
status: source
10+
permalink: /en/docs/getting-started/installation/
1011
---
1112

1213
## System Requirements

docs/content/en/getting-started/quick-start.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ path_segments:
77
- quick-start
88
source_hash: c17c2ed2a7d8
99
status: source
10+
permalink: /en/docs/getting-started/quick-start/
1011
---
1112

12-
This guide walks through the core language features in 10 minutes using English. Every construct shown here is available in all 17 languages — see the [Language Guide](/language-guide/all-languages/) for equivalents.
13+
This guide walks through the core language features in 10 minutes using English. Every construct shown here is available in all 17 languages — see the [Language Guide](/en/docs/language-guide/all-languages/) for equivalents.
1314

1415
---
1516

@@ -170,4 +171,4 @@ Augmented assignment:
170171
## Next: All 17 Languages
171172

172173
Every feature above is available in all 17 supported languages.
173-
See [All Languages Reference](/language-guide/all-languages/) for the complete keyword and syntax mapping.
174+
See [All Languages Reference](/en/docs/language-guide/all-languages/) for the complete keyword and syntax mapping.

docs/content/en/getting-started/repl.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ path_segments:
77
- repl
88
source_hash: 4444b80aad58
99
status: source
10+
permalink: /en/docs/getting-started/repl/
1011
---
1112

1213
The multilingual REPL (Read-Eval-Print Loop) is a language-switching interactive environment for writing and testing programs in any of the 17 supported languages.

docs/content/en/language-guide/all-languages.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ path_segments:
77
- all-languages
88
source_hash: 897bd24154cc
99
status: source
10+
permalink: /en/docs/language-guide/all-languages/
1011
---
1112

1213
This page provides complete program examples for all 17 supported languages, demonstrating variables, control flow, functions, and classes. Each example is a complete, runnable program.

docs/content/en/language-guide/async-generators.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ path_segments:
77
- async-generators
88
source_hash: ef520f55de2d
99
status: source
10+
permalink: /en/docs/language-guide/async-generators/
1011
---
1112

1213
Generators and async constructs in multilingual support the full Python model with localized keywords for `yield`, `async`, `await`, `async for`, and `async with`.
@@ -193,4 +194,4 @@ A function that combines `async def` and `yield` is an async generator:
193194
| async for | `async for` | `async_pour` | `para_async` | `async_für` | `非同期毎` | `غير_متزامن_لكل` | `असंकालिक_प्रत्येक` | `异步对于` |
194195
| async with | `async with` | `async_avec` | `async_con` | `async_mit` | `非同期と共に` | `غير_متزامن_مع` | `असंकालिक_साथ` | `异步以` |
195196

196-
See [Keywords Reference](/language-guide/keywords/) for all 17 languages.
197+
See [Keywords Reference](/en/docs/language-guide/keywords/) for all 17 languages.

docs/content/en/language-guide/control-flow.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ path_segments:
77
- control-flow
88
source_hash: 76561f72de89
99
status: source
10+
permalink: /en/docs/language-guide/control-flow/
1011
---
1112

1213
Control flow in multilingual uses the same Python semantics with localized keywords. All constructs work identically across all 17 supported languages — only the surface keywords differ.
@@ -260,4 +261,4 @@ French version:
260261

261262
> `break`, `continue`, and `pass` are universal across all 17 languages.
262263
263-
See [Keywords Reference](/language-guide/keywords/) for all 17 languages including Italian, Portuguese, Polish, Dutch, Swedish, Danish, Finnish, Bengali, and Tamil.
264+
See [Keywords Reference](/en/docs/language-guide/keywords/) for all 17 languages including Italian, Portuguese, Polish, Dutch, Swedish, Danish, Finnish, Bengali, and Tamil.

docs/content/en/language-guide/french.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ path_segments:
77
- french
88
source_hash: 8aaca71d7f2f
99
status: source
10+
permalink: /en/docs/language-guide/french/
1011
---
1112

1213
Ce guide présente la programmation avec `multilingual` en français. Il couvre les capacités du langage, le flux d'exécution, les exemples pratiques, et les points d'extension.
@@ -235,7 +236,7 @@ Certains built-ins universels ont des alias localisés. Les noms universels Pyth
235236
| `ensemble` | `set` |
236237
| `tuple` | `tuple` |
237238

238-
Voir la [référence des alias built-in](/reference/builtins/) pour la liste complète.
239+
Voir la [référence des alias built-in](/en/docs/reference/builtins/) pour la liste complète.
239240

240241
---
241242

docs/content/en/language-guide/functions-classes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ path_segments:
77
- functions-classes
88
source_hash: b0f5ca5c422c
99
status: source
10+
permalink: /en/docs/language-guide/functions-classes/
1011
---
1112

1213
Functions and classes in multilingual work exactly like Python, with localized keywords for `def`, `class`, `return`, `self`, and related constructs. Identifiers (variable names, function names, class names) are never translated — they remain as-is in the generated Python.
@@ -203,4 +204,4 @@ Decorators are applied bottom-up:
203204

204205
> `super`, `lambda`, `pass` are universal across all 17 languages.
205206
206-
See [Keywords Reference](/language-guide/keywords/) for all 17 languages.
207+
See [Keywords Reference](/en/docs/language-guide/keywords/) for all 17 languages.

0 commit comments

Comments
 (0)