- Introduced `build_all.py` script to automate the assembly of course modules into a single `index.html` file. - Created `index.html` for the main course overview, featuring a structured layout and navigation for various modules. - Developed `_base.html` and `_footer.html` templates for the advisor module, ensuring consistent styling and structure. - Added `build.sh` script for individual module assembly, enhancing modularity and ease of updates. - Implemented multiple module HTML files detailing specific training scenarios and functionalities for advisors, including interactive elements and quizzes. This update significantly enhances the course delivery framework, providing a comprehensive and interactive learning experience for advisors.
7 lines
210 B
Bash
7 lines
210 B
Bash
#!/bin/bash
|
|
# Assembles the course from parts.
|
|
# Run from the course directory: bash build.sh
|
|
set -e
|
|
cat _base.html modules/*.html _footer.html > index.html
|
|
echo "Built index.html — open it in your browser."
|