commit c3959798458f48f511ba0bd985f450d88698d719
parent 41df4080ba5a97d277cfb966fd67e45e66e35f36
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 27 Aug 2025 17:35:04 +0200
Stardis: update of links on the Starter Pack page
References to local manual pages rather than those distributed on the
WEB.
Diffstat:
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/stardis/starter-pack.sh b/stardis/starter-pack.sh
@@ -19,7 +19,12 @@
set -e
-sed -n '1,/^## Quick start/p' "${spk_readme}" | sed '$d'
+readme="$(sed -e 's;https://www.meso-star.com/projects/stardis/;;g' \
+ "${spk_readme}")"
+
+ printf '%s\n' "${readme}" \
+| sed -n '1,/^## Quick start/p' \
+| sed '$d'
printf '\n[]'
printf '(images/IR_animation_1080x720x32x128.gif)\n'
@@ -49,21 +54,29 @@ while read -r i ; do
done
printf '</table>\n\n'
-sed -n '/^## Quick start/,/^### The heatsink/p' "${spk_readme}" | sed '$d'
+ printf '%s\n' "${readme}" \
+| sed -n '/^## Quick start/,/^### The heatsink/p' \
+| sed '$d'
-sed -n '/^### The heatsink/,/### The porous medium/p' "${spk_readme}" | sed '$d'
+ printf '%s\n' "${readme}" \
+| sed -n '/^### The heatsink/,/### The porous medium/p' \
+| sed '$d'
printf '\n[](images/heatsink.jpg)\n'
printf '\n[](images/heatsinkx50.jpg)\n'
printf '\n> Geometry of the heat sink test cases\n\n'
-sed -n '/^### The porous medium/,/^### The city/p' "${spk_readme}" | sed '$d'
+ printf '%s\n' "${readme}" \
+| sed -n '/^### The porous medium/,/^### The city/p' \
+| sed '$d'
printf '\n[](images/foam.jpg)\n'
printf '> Geometry of the porous example.\n'
printf '> It is in fact a foam composed of a set of kelvin cells.\n'
- sed -n '/^### The city/,/^## /p' "${spk_readme}" | sed '$d'
+ printf '%s\n' "${readme}" \
+| sed -n '/^### The city/,/^## /p' \
+| sed '$d'
printf '\n[](images/city.jpg)\n'
printf '> Geometry of the "city" test case.\n'
@@ -77,4 +90,5 @@ printf '> thermal bridges,\n'
printf '> particularly those coming from the uninsulated roofs.\n'
printf '> The color map displays the temperature in Kelvin.\n'
-sed -n '/^## Release notes/,$p' "${spk_readme}"
+ printf '%s\n' "${readme}" \
+| sed -n '/^## Release notes/,$p'