Skip to content

v0.2.1

Choose a tag to compare

@mmcky mmcky released this 03 Feb 03:02
· 126 commits to main since this release
c270eab

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.yml detection
  • preview-netlify/action.yml: Same fix for consistency

Full Changelog: v0.2.0...v0.2.1