Looking through the Ammending section of the "Filling out a template" tutorial, it seemed like the code snippets and the textual explanation didn't align nicely. I've updated the code snippets to match the text surrounding them as it seemed like the text was the correct one. Here's a summary of changes:
Swapped out the relationship between stock and wood pigeon - it appeared like wood pigeon should be amending stock pigeon rather than the other way around.
Added kingdom, clade, and order to stockPigeon.taxonomy as the text was referencing those fields, but those were missing from the code snippet.
Updated the output snippet to reflect the code reorganization.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/491
**Author:** [@nirinchev](https://github.com/nirinchev)
**Created:** 5/13/2024
**Status:** ✅ Merged
**Merged:** 5/17/2024
**Merged by:** [@holzensp](https://github.com/holzensp)
**Base:** `main` ← **Head:** `ni/ammend-tutorial`
---
### 📝 Commits (2)
- [`195ade1`](https://github.com/apple/pkl/commit/195ade19a5c43552b9bf848a81a71ac44822ab5f) Update amending example
- [`456e879`](https://github.com/apple/pkl/commit/456e8797274113561d657d95cabad984d4c4ab73) Make sure wood pigeon amends stock pigeon
### 📊 Changes
**1 file changed** (+27 additions, -15 deletions)
<details>
<summary>View changed files</summary>
📝 `docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc` (+27 -15)
</details>
### 📄 Description
Looking through the [Ammending](https://pkl-lang.org/main/current/language-tutorial/02_filling_out_a_template.html#amending) section of the "Filling out a template" tutorial, it seemed like the code snippets and the textual explanation didn't align nicely. I've updated the code snippets to match the text surrounding them as it seemed like the text was the correct one. Here's a summary of changes:
1. Swapped out the relationship between stock and wood pigeon - it appeared like wood pigeon should be amending stock pigeon rather than the other way around.
2. Added `kingdom`, `clade`, and `order` to `stockPigeon.taxonomy` as the text was referencing those fields, but those were missing from the code snippet.
3. Updated the output snippet to reflect the code reorganization.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/491
Author: @nirinchev
Created: 5/13/2024
Status: ✅ Merged
Merged: 5/17/2024
Merged by: @holzensp
Base:
main← Head:ni/ammend-tutorial📝 Commits (2)
195ade1Update amending example456e879Make sure wood pigeon amends stock pigeon📊 Changes
1 file changed (+27 additions, -15 deletions)
View changed files
📝
docs/modules/language-tutorial/pages/02_filling_out_a_template.adoc(+27 -15)📄 Description
Looking through the Ammending section of the "Filling out a template" tutorial, it seemed like the code snippets and the textual explanation didn't align nicely. I've updated the code snippets to match the text surrounding them as it seemed like the text was the correct one. Here's a summary of changes:
kingdom,clade, andordertostockPigeon.taxonomyas the text was referencing those fields, but those were missing from the code snippet.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.