This repo builds the FunML website from a downloaded lecture zip.
python3pandoc- Python package:
beautifulsoup4
Install dependency:
pip install beautifulsoup4source/raw/: extracted lecture zip contentlectures/: generated lecture HTML pagesassets/exercises/: generated per-lecture exercises pagesassets/slides/: local slide PDFsbuildsite.py: main build scriptupdate_from_downloads.sh: convenience script to copy/extract zip and build
Use the helper script:
./update_from_downloads.sh "/home/yogita/Downloads/FunML_Sp_26_LectNotes.zip"If you run without an argument, it uses the default zip path configured inside update_from_downloads.sh.
What this script does:
- Copies the zip into
source/FunML_Sp_26_LectNotes.zip - Extracts into
source/raw/ - Runs
buildsite.pyto regenerate website files
python3 buildsite.py --src source/raw --out .From repo root:
python3 -m http.server 8000Open: http://localhost:8000
git add -A
git commit -m "Update FunML site content"
git push origin main