Interactive physics demonstrations and simulations.
GitHub Actions runs GenerateSiteIndex.cs on every push to main, then deploys. You do not commit site-index.json.
For local preview only:
dotnet run GenerateSiteIndex.cs
python3 -m http.server 8080GenerateSiteIndex.cs scans folders that contain index.html and reads content from each file:
<title>→ lesson title<meta name="description">→ subtitle (optional)- first
<h2>→ fallback description
The JSON stores only path, title, and description. No href, basePath, or build timestamps — links are relative (path + '/') so the same JSON works locally and on GitHub Pages.
- Push to
main - Settings → Pages → Source: GitHub Actions
Create e.g. Physics/NewTopic/index.html with a proper <title> (and optional <meta name="description">). Push to main — CI picks it up automatically.