feat(site): auto-generate team page from .all-contributorsrc

Add generate_team.py script that reads .all-contributorsrc and generates
the team.md page automatically. This keeps the website team page in sync
with the README contributors.

- Add tinytorch/site/scripts/generate_team.py
- Update both deploy workflows to run the script before building
- Contributors added via @all-contributors now appear on the website

The script runs during site build, so team.md stays fresh with each deploy.
This commit is contained in:
Vijay Janapa Reddi
2026-02-05 20:24:47 -05:00
parent 6c33a3e3ab
commit 956e7277c8
4 changed files with 454 additions and 11 deletions

View File

@@ -50,6 +50,13 @@ jobs:
pip install --upgrade pip
pip install -r site/requirements.txt
- name: 👥 Generate team page from contributors
working-directory: tinytorch/site
run: |
echo "👥 Generating team page from .all-contributorsrc..."
python3 scripts/generate_team.py
echo "✅ Team page generated"
- name: 🔨 Build Jupyter Book
working-directory: tinytorch/site
run: |