Skip to content

Commit bf5fa67

Browse files
garrett4waderoot
authored andcommitted
docs: fix broken documentation links by adding /en/ language prefix (#986)
* docs: fix broken documentation links by adding /en/ language prefix After docs site restructured for multilingual support (en/zh), all documentation page URLs without the language prefix now return 404. - Add /en/ prefix to 35+ doc links across README, CONTRIBUTING, blog, examples, and docs files - Fix typo in blog: /references/ -> /reference/ (plural to singular) - Use /zh/ prefix for Chinese docs cross-references - Auto-format markdown via mdformat pre-commit hook Closes #984 * docs: add Chinese documentation link to README header Add 中文文档 link pointing to /zh/ docs site in the header nav bar, alongside the existing Documentation link (now explicitly /en/). * docs: revert Documentation link to root URL The root URL auto-redirects, no need for explicit /en/ path.
1 parent ee2df10 commit bf5fa67

10 files changed

Lines changed: 44 additions & 43 deletions

File tree

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ contact_links:
77
url: https://inclusionai.github.io/AReaL/
88
about: Check our comprehensive documentation for guides and tutorials
99
- name: 🚀 Quickstart Guide
10-
url: https://inclusionai.github.io/AReaL/tutorial/quickstart.html
10+
url: https://inclusionai.github.io/AReaL/en/tutorial/quickstart.html
1111
about: New to AReaL? Start here for installation and basic usage
1212
- name: 🐛 Debugging Guide
13-
url: https://inclusionai.github.io/AReaL/best_practices/debugging.html
13+
url: https://inclusionai.github.io/AReaL/en/best_practices/debugging.html
1414
about: Tips for debugging common issues
1515
- name: 💾 Handling OOM Issues
16-
url: https://inclusionai.github.io/AReaL/best_practices/handling_oom.html
16+
url: https://inclusionai.github.io/AReaL/en/best_practices/handling_oom.html
1717
about: Solutions for out-of-memory errors
1818
- name: 💬 WeChat Community
1919
url: https://github.com/inclusionAI/AReaL/blob/main/assets/wechat_qrcode.png

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ helping with code reviews. This guide will help you get started.
2424
1. **Install Development Dependencies:**
2525

2626
Check our
27-
[installation guide](https://inclusionai.github.io/AReaL/tutorial/installation.html)
27+
[installation guide](https://inclusionai.github.io/AReaL/en/tutorial/installation.html)
2828
for detailed setup instructions.
2929

3030
1. **Set Up Code Formatting:**
@@ -138,7 +138,7 @@ waste your effort.
138138
## Tips for Using AI-Assisted Coding
139139

140140
See the full
141-
[AI-Assisted Development Guide](https://inclusionai.github.io/AReaL/reference/ai_assisted_dev.html)
141+
[AI-Assisted Development Guide](https://inclusionai.github.io/AReaL/en/reference/ai_assisted_dev.html)
142142
for detailed documentation.
143143

144144
## CI/CD

README.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</h1>
44

55
<p align="center">
6-
| <a href="https://arxiv.org/pdf/2505.24298"><b>Paper</b></a> | <a href="https://inclusionai.github.io/AReaL/"><b>Documentation</b></a> | <a href="https://deepwiki.com/inclusionAI/AReaL"><b>Ask DeepWiki</b></a> | <a href="https://huggingface.co/collections/inclusionAI/"><b>🤗 Models & Data</b></a> |
6+
| <a href="https://arxiv.org/pdf/2505.24298"><b>Paper</b></a> | <a href="https://inclusionai.github.io/AReaL/"><b>Documentation</b></a> | <a href="https://inclusionai.github.io/AReaL/zh/"><b>中文文档</b></a> | <a href="https://deepwiki.com/inclusionAI/AReaL"><b>Ask DeepWiki</b></a> | <a href="https://huggingface.co/collections/inclusionAI/"><b>🤗 Models & Data</b></a> |
77
<a href="./assets/wechat_qrcode.png" target="_blank"><img src="./assets/wechat_icon.png" width="20" style="vertical-align: middle;"> <b>WeChat (微信) Group</b></a> |
88
</p>
99

@@ -22,7 +22,7 @@ as much as you'd enjoy real milk tea. Cheers!
2222
**AReaL Highlights**
2323

2424
-**Flexibility**: Seamless customization for
25-
[agentic RL](https://inclusionai.github.io/AReaL/tutorial/agentic_rl.html) and
25+
[agentic RL](https://inclusionai.github.io/AReaL/en/tutorial/agentic_rl.html) and
2626
[online RL training](./examples/openclaw/) by simply replacing the `base_url`.
2727
- 📈 **Scalability**: **Stable** fully asynchronous RL training with **industry-leading
2828
speed**.
@@ -57,7 +57,7 @@ and the [announcement on X](https://x.com/guohao_li/status/2009678513574408636).
5757
@HwVanICI, we are excited to officially announce stable support for AReaL training on
5858
**Ascend NPU devices**! The code is actively maintained and continuously updated in the
5959
[`ascend` branch](https://github.com/inclusionAI/AReaL/tree/ascend). Check out
60-
[our documentation](https://inclusionai.github.io/AReaL/tutorial/installation_npu.html)
60+
[our documentation](https://inclusionai.github.io/AReaL/en/tutorial/installation_npu.html)
6161
to get started, and feel free to report any issues!
6262

6363
**\[2025/08/30\]** Introducing ASearcher, a state-of-the-art search agent built with
@@ -70,8 +70,8 @@ features an **algorithm-first** API design that prioritizes ease of use and algo
7070
development, while natively supporting **fully asynchronous agentic RL**. With 80% fewer
7171
lines of code, AReaL-lite maintains 90% of AReaL's performance and core functionality.
7272
Check out [our AReaL-lite design documentation](/areal/README.md) and
73-
[the quickstart guide](https://inclusionai.github.io/AReaL/tutorial/quickstart.html) to
74-
begin your journey with **AReaL-lite**!
73+
[the quickstart guide](https://inclusionai.github.io/AReaL/en/tutorial/quickstart.html)
74+
to begin your journey with **AReaL-lite**!
7575

7676
**\[2025/06/03\] (v0.3, boba²)** We release **boba²** (double-boba) for fully
7777
asynchronous RL training, which achieves **2.77× speedup while delivering comparable or
@@ -119,7 +119,7 @@ python3 examples/math/gsm8k_rl.py --config examples/math/gsm8k_grpo.yaml \
119119
```
120120

121121
For comprehensive setup instructions, see
122-
[our quickstart guide](https://inclusionai.github.io/AReaL/tutorial/quickstart.html).
122+
[our quickstart guide](https://inclusionai.github.io/AReaL/en/tutorial/quickstart.html).
123123

124124
## 📚 Examples
125125

@@ -212,45 +212,45 @@ Check the [AI Coding Assistant Guide](docs/reference/ai_assisted_dev.md) and
212212

213213
### Tutorial
214214

215-
- [Installation](https://inclusionai.github.io/AReaL/tutorial/installation.html)
216-
- [Quickstart](https://inclusionai.github.io/AReaL/tutorial/quickstart.html)
217-
- [Agentic RL](https://inclusionai.github.io/AReaL/tutorial/agentic_rl.html)
218-
- [Evaluation](https://inclusionai.github.io/AReaL/tutorial/eval.html)
219-
- [Large MoE with Megatron](https://inclusionai.github.io/AReaL/tutorial/megatron.html)
220-
- [Large MoE with PyTorch Archon](https://inclusionai.github.io/AReaL/tutorial/archon.html)
215+
- [Installation](docs/en/tutorial/installation.md)
216+
- [Quickstart](docs/en/tutorial/quickstart.md)
217+
- [Agentic RL](docs/en/tutorial/agentic_rl.md)
218+
- [Evaluation](docs/en/tutorial/eval.md)
219+
- [Large MoE with Megatron](docs/en/tutorial/megatron.md)
220+
- [Large MoE with PyTorch Archon](docs/en/tutorial/archon.md)
221221

222222
### Code Walkthrough
223223

224-
- [Running GRPO on GSM8K dataset](https://inclusionai.github.io/AReaL/tutorial/gsm8k_grpo.html)
224+
- [Running GRPO on GSM8K dataset](docs/en/tutorial/gsm8k_grpo.md)
225225

226226
### Best Practices
227227

228-
- [Improving Algorithm Performance](https://inclusionai.github.io/AReaL/best_practices/algo_perf.html)
229-
- [Agent Workflow Best Practices](https://inclusionai.github.io/AReaL/best_practices/workflow.html)
230-
- [Debugging](https://inclusionai.github.io/AReaL/best_practices/debugging.html)
231-
- [Handling OOM Issues](https://inclusionai.github.io/AReaL/best_practices/handling_oom.html)
232-
- [Performance Profiling](https://inclusionai.github.io/AReaL/best_practices/perf_profiling.html)
228+
- [Improving Algorithm Performance](docs/en/best_practices/algo_perf.md)
229+
- [Agent Workflow Best Practices](docs/en/best_practices/workflow.md)
230+
- [Debugging](docs/en/best_practices/debugging.md)
231+
- [Handling OOM Issues](docs/en/best_practices/handling_oom.md)
232+
- [Performance Profiling](docs/en/best_practices/perf_profiling.md)
233233

234234
### Customization
235235

236-
- [Customize Dataset](https://inclusionai.github.io/AReaL/customization/dataset.html)
237-
- [Customize Agentic/RVLR Rollout Workflows](https://inclusionai.github.io/AReaL/customization/agent.html)
236+
- [Customize Dataset](docs/en/customization/dataset.md)
237+
- [Customize Agentic/RVLR Rollout Workflows](docs/en/customization/agent.md)
238238

239239
### Algorithms
240240

241-
- [Asynchronous RL Explained](https://inclusionai.github.io/AReaL/algorithms/async.html)
242-
- [PPO, GRPO, and Related Algorithms](https://inclusionai.github.io/AReaL/algorithms/grpo_series.html)
243-
- [M2PO](https://inclusionai.github.io/AReaL/algorithms/m2po.html)
241+
- [Asynchronous RL Explained](docs/en/algorithms/async.md)
242+
- [PPO, GRPO, and Related Algorithms](docs/en/algorithms/grpo_series.md)
243+
- [M2PO](docs/en/algorithms/m2po.md)
244244

245245
### Reference
246246

247-
- [CLI Configurations](https://inclusionai.github.io/AReaL/cli_reference.html)
248-
- [Checkpointing](https://inclusionai.github.io/AReaL/reference/checkpointing.html)
249-
- [Metrics Tracking](https://inclusionai.github.io/AReaL/reference/metrics_tracking.html)
250-
- [Allocation Mode](https://inclusionai.github.io/AReaL/reference/alloc_mode.html)
251-
- [Rollout Workflow](https://inclusionai.github.io/AReaL/reference/rollout_workflow.html)
252-
- [Agent Workflow](https://inclusionai.github.io/AReaL/reference/agent_workflow.html)
253-
- [AI-Assisted Development](https://inclusionai.github.io/AReaL/reference/ai_assisted_dev.html)
247+
- [CLI Configurations](docs/en/cli_reference.md)
248+
- [Checkpointing](docs/en/reference/checkpointing.md)
249+
- [Metrics Tracking](docs/en/reference/metrics_tracking.md)
250+
- [Allocation Mode](docs/en/reference/alloc_mode.md)
251+
- [Rollout Workflow](docs/en/reference/rollout_workflow.md)
252+
- [Agent Workflow](docs/en/reference/agent_workflow.md)
253+
- [AI-Assisted Development](docs/en/reference/ai_assisted_dev.md)
254254

255255
## 🤝 Contributing
256256

areal/api/alloc_mode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ def parse(self, expression: str):
11631163
err_hint = """
11641164
Hints:
11651165
1. The parsing logic requires colons instead of dots to separate backends from dimensions, e.g., use "sglang:d4+fsdp:d4" instead of "sglang.d4+fsdp.d4".
1166-
2. Check https://inclusionai.github.io/AReaL/tutorial/megatron.html for allowed syntax and examples with complex MoE models.
1166+
2. Check https://inclusionai.github.io/AReaL/en/tutorial/megatron.html for allowed syntax and examples with complex MoE models.
11671167
"""
11681168
raise ValueError(f"Parsing error: {e}\n{err_hint}")
11691169

blog/AReaL_v0_3.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ either entirely correct or entirely incorrect.
291291
[14B-code](https://huggingface.co/inclusionAI/AReaL-boba-2-14B),
292292
[8B-code-open](https://huggingface.co/inclusionAI/AReaL-boba-2-8B-subset),
293293
[14B-code-open](https://huggingface.co/inclusionAI/AReaL-boba-2-14B-subset)
294-
- [Evaluation Guide](https://inclusionai.github.io/AReaL/tutorial/eval.html)
294+
- [Evaluation Guide](https://inclusionai.github.io/AReaL/en/tutorial/eval.html)
295295
- [Training configs](https://github.com/inclusionAI/AReaL/tree/main/examples/configs/v0.3-qwen3-code)
296-
and [instructions](https://inclusionai.github.io/AReaL/references/reproduce.html)
296+
and instructions (`reference/reproduce.html`, revert to a version before v0.5.1 to
297+
see the reproduction guide)

docs/en/version_history.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ development history, highlighting the key contributions of each version release.
66
## AReaL-lite (July 2025): Simplifying RL for Everyone
77

88
*📖
9-
[Step-by-step Tutorial](https://inclusionai.github.io/AReaL/tutorial/gsm8k_grpo.html)*
9+
[Step-by-step Tutorial](https://inclusionai.github.io/AReaL/en/tutorial/gsm8k_grpo.html)*
1010

1111
AReaL-lite represents a fundamental rethinking of how researchers interact with
1212
reinforcement learning systems. Born from the recognition that AReaL's system-first

docs/zh/version_history.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## AReaL-lite(2025年7月):让 RL 触手可及
66

7-
*📖 [分步教程](https://inclusionai.github.io/AReaL/tutorial/gsm8k_grpo.html)*
7+
*📖 [分步教程](https://inclusionai.github.io/AReaL/zh/tutorial/gsm8k_grpo.html)*
88

99
AReaL-lite 代表了对研究人员与强化学习系统交互方式的根本性重新思考。源于认识到 AReaL 的系统优先架构为 AI
1010
研究人员设置了障碍,这个轻量级版本将算法开发置于基础设施复杂性之上。

examples/countdown/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ for this puzzle.
2424
Before you begin, ensure you have met the following requirements:
2525

2626
- You have installed **AReaL**. Please follow the official
27-
[AReaL installation guide](https://inclusionai.github.io/AReaL/tutorial/installation.html).
27+
[AReaL installation guide](https://inclusionai.github.io/AReaL/en/tutorial/installation.html).
2828
- You have access to the `Qwen/Qwen2.5-3B-Instruct` model on the Hugging Face Hub (or
2929
have it downloaded locally).
3030

examples/tau2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ with user's request by both using agent tools and guiding users using their tool
2525
### Prerequisites
2626

2727
Please make sure AReaL is setup and working following the
28-
[installation guide](https://inclusionai.github.io/AReaL/tutorial/installation.html).
28+
[installation guide](https://inclusionai.github.io/AReaL/en/tutorial/installation.html).
2929

3030
1. Install the (forked) tau2-bench package:
3131

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ all = [
166166
[project.urls]
167167
"Homepage" = "https://github.com/inclusionAI/AReaL"
168168
"Repository" = "https://github.com/inclusionAI/AReaL"
169-
"Documentation" = "https://inclusionai.github.io/AReaL/intro.html"
169+
"Documentation" = "https://inclusionai.github.io/AReaL/en/intro.html"
170170
"Bug Tracker" = "https://github.com/inclusionAI/AReaL/issues"
171171

172172
[dependency-groups]

0 commit comments

Comments
 (0)