From 55aef96546ecc1d1959d6a8dca33ca94e490c864 Mon Sep 17 00:00:00 2001
From: Laura Little <935915+marshmallowrobot@users.noreply.github.com>
Date: Sun, 15 Jan 2023 14:06:54 -0500
Subject: [PATCH 1/2] new workbook image template HTML file
---
workbook/workbook-image-template.html | 80 +++++++++++++++++++++++++++
1 file changed, 80 insertions(+)
create mode 100644 workbook/workbook-image-template.html
diff --git a/workbook/workbook-image-template.html b/workbook/workbook-image-template.html
new file mode 100644
index 00000000..057c4af3
--- /dev/null
+++ b/workbook/workbook-image-template.html
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+
+
+
+
+
+

+
Learning Path
+
The Trusted Committer Workbook
+
+
+
From 9c33ad3abc3b41b4781ec9853a47a52addf723a4 Mon Sep 17 00:00:00 2001
From: Laura Little <935915+marshmallowrobot@users.noreply.github.com>
Date: Sun, 15 Jan 2023 14:08:27 -0500
Subject: [PATCH 2/2] update generation script and section data to include
workbook images
---
scripts/generate_learning_path_markdown.js | 2 +-
scripts/section_data.json | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/generate_learning_path_markdown.js b/scripts/generate_learning_path_markdown.js
index 8942983b..52f85861 100644
--- a/scripts/generate_learning_path_markdown.js
+++ b/scripts/generate_learning_path_markdown.js
@@ -98,7 +98,7 @@ const getYouTubeImage = (youTubeCode) => {
const workbookFrontMatter = {
title: 'Workbook',
contributors,
- image: section.image,
+ image: section.workbookImage,
weight: workbookPosition
}
diff --git a/scripts/section_data.json b/scripts/section_data.json
index 3acecfd6..da54925d 100644
--- a/scripts/section_data.json
+++ b/scripts/section_data.json
@@ -3,6 +3,7 @@
"learning_path_group": "Introduction",
"dirName": "introduction",
"workbook": "01-introduction.asciidoc",
+ "workbookImage": "images/learn/workbooks/Learning Path-Introduction Workbook-image.png",
"image": "images/learn/LP_thumbnail_introduction.jpg",
"renderArticles": true
},
@@ -10,6 +11,7 @@
"learning_path_group": "Trusted Committer",
"dirName": "trusted-committer",
"workbook": "02-trusted-committer.asciidoc",
+ "workbookImage": "images/learn/workbooks/Learning Path-Trusted Committer Workbook-image.png",
"image": "images/learn/LP_thumbnail_trustedcommitter.jpg",
"renderArticles": true
},
@@ -17,6 +19,7 @@
"learning_path_group": "Contributor",
"dirName": "contributor",
"workbook": "04-contributor.asciidoc",
+ "workbookImage": "images/learn/workbooks/Learning Path-Contributor Workbook-image.png",
"image": "images/learn/LP_thumbnail_contributor.jpg",
"renderArticles": true
},
@@ -24,6 +27,7 @@
"learning_path_group": "Product Owner",
"dirName": "product-owner",
"workbook": "03-product-owner.asciidoc",
+ "workbookImage": "images/learn/workbooks/Learning Path-Product Owner Workbook-image.png",
"image": "images/learn/LP_thumbnail_productowner.jpg",
"renderArticles": false
}