This project provides a comprehensive template for creating interactive slide decks using Slidev, specifically designed for WebTigerPython presentations. The template integrates WebTigerPython as an embedded iframe, allowing for dynamic and engaging educational content.
# Clone the repository
git clone https://github.com/tiger-jython/wtp-slides-template.git
# Navigate to project directory
cd wtp-slides-template
# Install dependencies
npm install
# Start development server
npm run dev
# Open in browser
# Visit http://localhost:3030
slides.md to modify slide contentEvery push to main or a feature/** branch is automatically built and published to GitHub Pages by .github/workflows/deploy.yml:
main deploys to the site root: π https://tiger-jython.github.io/wtp-slides-template/feature/<name> branch deploys to its own subpath: https://tiger-jython.github.io/wtp-slides-template/feature/<name>/This lets multiple decks (conference talks, courses, etc.) live as separate branches in one repo, each with its own persistent URL, instead of needing a separate repo per deck. See dev-clemons/wtp-slides-template for an example with several decks deployed this way.
feature/<your-deck-name>.../feature/<your-deck-name>/gh-pages β / (root) under Settings β Pages. The default βGitHub Actionsβ source only supports one live deployment at a time and wonβt work with this per-branch setup.concurrency.group (pages-$) so multiple branches can deploy in parallel without cancelling each other.main deploy uses clean-exclude to protect other branchesβ feature/ subfolders on gh-pages from being wiped out when the root gets rebuilt.Happy Presenting! ππ©βπ»π¨βπ»