Merge branch 'master' of ssh://git.betalupi.com:33/Mark/ormc-handouts

This commit is contained in:
Mark 2024-05-25 10:11:10 -07:00
commit 8bf5c71aa8
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
5 changed files with 6 additions and 1 deletions

0
Advanced/DFAs/starred Normal file
View File

View File

View File

View File

View File

@ -97,7 +97,12 @@ function build() {
echo -n "\"description\": \"${job_name}\"",
echo -n "\"handout\": \"https://static.betalupi.com/ormc/$(realpath --relative-to="${target_dir}" "${b_target_dir}")/${job_name}.pdf\","
if [[ $solution_stat == 0 ]]; then
echo -n "\"solutions\": \"https://static.betalupi.com/ormc/$(realpath --relative-to="${target_dir}" "${b_target_dir}")/${job_name}.sols.pdf\""
echo -n "\"solutions\": \"https://static.betalupi.com/ormc/$(realpath --relative-to="${target_dir}" "${b_target_dir}")/${job_name}.sols.pdf\","
fi
if [ -f "starred" ]; then
echo -n "\"starred\": true"
else
echo -n "\"starred\": false"
fi
echo -n "},"
) >> "$target_dir/index.json"