Repository navigation
v0.2.1
Bug Fix
Fixes #15 - Changed lecture URLs in PR comments now correctly handle different project structures.
The Problem
PR comments showed broken links for projects where _toc.yml is at the root level (e.g., QuantMFR) instead of inside the lectures directory (e.g., QuantEcon lectures).
The Fix
Auto-detect _toc.yml location to determine correct URL construction:
| Project Type | _toc.yml Location |
URL Behavior |
|---|---|---|
| QuantEcon | lectures/_toc.yml |
Strip lectures/ from URL |
| QuantMFR | _toc.yml (root) |
Keep full path in URL |
Changes
preview-cloudflare/action.yml: Add_toc.ymldetectionpreview-netlify/action.yml: Same fix for consistency
Full Changelog: v0.2.0...v0.2.1