Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/contributing/interactive-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/zh/contributing/interactive-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
包含了可重复使用并适用于每个示例的数据。如果该文件中的数据不足,请添加新的数据,但请确保它们之间存在关联。

## 嵌入示例
Expand Down