From 1cfcc5ec38ff4b504c8bc83efc94c7dfbfe0ff79 Mon Sep 17 00:00:00 2001 From: GrantA Date: Wed, 21 Feb 2024 00:09:08 -0500 Subject: [PATCH] Fix incorrect filename in tutorial The referenced filename should be `ispklTutorialPart3.pkl`, not `pklTutorial.pkl`. Also, changes dates from 2023 to 2024 Co-authored-by: grant-abbott --- .../language-tutorial/pages/03_writing_a_template.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/modules/language-tutorial/pages/03_writing_a_template.adoc b/docs/modules/language-tutorial/pages/03_writing_a_template.adoc index 023b2714..c34763cf 100644 --- a/docs/modules/language-tutorial/pages/03_writing_a_template.adoc +++ b/docs/modules/language-tutorial/pages/03_writing_a_template.adoc @@ -167,7 +167,7 @@ pklTutorialPart3 { ---- -Sadly, `pklTutorialParts.pkl` is a _rewrite_ of `pklTutorial.pkl`. +Sadly, `pklTutorialParts.pkl` is a _rewrite_ of `pklTutorialPart3.pkl`. It creates a separate `class TutorialPart` and instantiates three properties with it (`pklTutorialPart1`, `pklTutorialPart2` and `pklTutorialPart3`). In doing so, it implicitly moves everything "down" one level (`pklTutorialPart3` is now a property in the module `pklTutorialParts`, whereas above, in `pklTutorialPart3.pkl` it was its own module). This is not very DRY. @@ -262,7 +262,7 @@ Suppose you want to define what a live workshop for this tutorial looks like. Consider this example: [source,{pkl}] -.workshop2023.pkl +.workshop2024.pkl ---- title = "Pkl: Configure your Systems in New Ways" interactive = true @@ -278,7 +278,7 @@ duration = 1.5.h event { name = "Migrating Birds between hemispheres" - year = 2023 + year = 2024 } instructors { @@ -288,11 +288,11 @@ instructors { sessions { new { - date = "8/14/2023" + date = "2/1/2024" time = 30.min } new { - date = "8/15/2023" + date = "2/1/2024" time = 30.min } }