From 0ae9218780d909413c590d4d1ab1d26ed37137e3 Mon Sep 17 00:00:00 2001 From: Eric Dunsworth <1907279+EricDunsworth@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:36:17 -0500 Subject: [PATCH] Creating interactive examples: Fix broken YAML links * Removes an underscore in front of the examples directory * Adjusts the Chinese translation to link to its variant of the YAML file * Korean translation is unaffected --- src/contributing/interactive-examples.md | 2 +- src/zh/contributing/interactive-examples.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contributing/interactive-examples.md b/src/contributing/interactive-examples.md index c15dd4a3..1fbb0223 100644 --- a/src/contributing/interactive-examples.md +++ b/src/contributing/interactive-examples.md @@ -29,7 +29,7 @@ The output of the example is automatically computed using the latest release ver ## Example data If possible, examples should use variations of a common data set. Therefore, the file -[src/\_examples/\_example-base-data.yaml](https://github.com/handlebars-lang/docs/blob/master/src/_examples/_example-base-data.yaml) +[src/examples/\_example-base-data.yaml](https://github.com/handlebars-lang/docs/blob/master/src/examples/_example-base-data.yaml) contains data that can be reused and adapted to each example. If the data in that file is insufficient, please add new data, but please make sure it is somehow related. diff --git a/src/zh/contributing/interactive-examples.md b/src/zh/contributing/interactive-examples.md index b80d26f0..03c22282 100644 --- a/src/zh/contributing/interactive-examples.md +++ b/src/zh/contributing/interactive-examples.md @@ -22,7 +22,7 @@ content   -`preparationScript`: 在编译和运行模板之前执行的脚本 ## 示例数据 如果可能的话,示例应该使用通用数据集中提供的变量。因此,文件 -[src/\_examples/\_example-base-data.yaml](https://github.com/handlebars-lang/docs/blob/master/src/_examples/_example-base-data.yaml) +[src/zh/examples/\_example-base-data.yaml](https://github.com/handlebars-lang/docs/blob/master/src/zh/examples/_example-base-data.yaml) 包含了可重复使用并适用于每个示例的数据。如果该文件中的数据不足,请添加新的数据,但请确保它们之间存在关联。 ## 嵌入示例