Integrate webapp (simulator) into docs workflow

- Merge deploy-webapp.yml into docs.yml workflow
- Build simulator and place at /simulator/ subdirectory
- Update docs links to use relative paths to simulator
- Remove separate deploy-webapp.yml to avoid conflicts

The combined workflow now:
1. Builds docs with zensical
2. Builds webapp with shinylive
3. Copies webapp to site/simulator/
4. Deploys everything to GitHub Pages

Simulator will be at adaptive-lighting.nijho.lt/simulator/
This commit is contained in:
Bas Nijholt 2026-01-12 10:43:19 -08:00
commit c439c5315b
5 changed files with 27 additions and 69 deletions

View file

@ -118,7 +118,7 @@ These graphs were generated using the values calculated by the Adaptive Lighting
The best way to understand brightness modes is to experiment with the interactive simulator:
<div style="text-align: center; margin: 2rem 0;">
<a href="https://basnijholt.github.io/adaptive-lighting" class="simulator-link">
<a href="../simulator/" class="simulator-link">
🌞 Try the Simulator 🌛
</a>
</div>