Quarto website and slide decks for the UVM Economics AI bootcamp.
- website pages live in the repo root:
index.qmdprep.qmdresources.qmdsession1.qmdsession2.qmd
- slide source lives in
slides/ - rendered output lives in
docs/
Edit source files, not generated files in docs/.
From the repo root:
cd /Users/ebeam/Dropbox/GitHub/uvmecon-aiRender the website only:
./render.sh siteRender slide HTML only:
./render.sh slides-htmlRender slide PDFs from already-built HTML:
./render.sh slides-pdfRender everything:
./render.sh allIf you changed resources.qmd, session1.qmd, session2.qmd, or other website pages, ./render.sh site is usually enough.
If you changed files in slides/, the safest pre-push command is usually:
./render.sh allThis repo now includes a GitHub Actions workflow:
.github/workflows/deploy-pages.yml
On push to main, GitHub Actions will:
- install Quarto
- detect Chrome or Chromium
- run
./render.sh all - deploy the generated
docs/directory to GitHub Pages
You can also run the workflow manually from the GitHub Actions tab.
In the GitHub repository settings, set:
- Pages -> Build and deployment -> Source ->
GitHub Actions
If Pages is still configured to deploy from a branch, the workflow will run but the site will not deploy the way this repo expects.
Slide PDFs are generated from reveal.js HTML using headless Chrome or Chromium.
The helper script:
slides/render_pdf.sh
now works both:
- locally on macOS with Google Chrome
- in GitHub Actions on Linux with Chrome or Chromium
If PDF rendering fails locally, check that a browser is installed and available.
- Edit source
.qmdfiles. - Run the smallest relevant render command locally.
- Check source changes and generated
docs/output. - Commit source and any intended generated output.
- Push to
main. - Let GitHub Actions rebuild and deploy the site.
render.shis the canonical build entry point for this repo.- Do not edit
docs/by hand. - If local rendering is flaky but source changes are correct, GitHub Actions can still serve as the clean deployment path once pushed.