Skip to content

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 12:16
· 31 commits to main since this release
d275047

Headline: fancy ordered lists — (a) / (i) / B) markers from the QuantEcon
mystmd fork's fancy-lists parser now render correctly in HTML site builds
(previously they fell back to 1. / 2. / 3.). Consumers upgrade by bumping
the pinned release URL in site.template.

Fixed

  • The notebook-launch toolbar trigger now has an accessible name (aria-label="Launch notebook"); previously it exposed no name to assistive technology. Added alongside the first regression coverage of the launch popover (Colab URL + default selection — BinderHub was deliberately not added, see #26).
  • Fancy ordered lists ((a), iv., B)QuantEcon/mystmd#50) now render their markers instead of falling back to decimals: a custom list renderer maps the node's style to the <ol type> attribute plus a case-sensitive list-* class (HTML matches [type=...] case-insensitively, so CSS keyed off the attribute cannot tell a from A) and exposes delimiter as a delimiter-paren(s) class, with counter-based CSS drawing the parenthesized markers (#100). Interim override until the fix lands upstream in myst-to-react (tracked in QuantEcon/mystmd#51). Covered by a new lists visual-regression fixture page whose markers are stamped by a fixture-local transform (fancy-lists.mjs) — so the coverage is independent of whether the building CLI parses fancy-list markers — plus DOM-level marker assertions (lists-markers), since a wrong marker case moves too few pixels for the snapshot diff budget.

Added

  • Per-PR rendered previews on GitHub Pages (.github/workflows/preview.yml): each PR statically builds the real lecture-python-programming lectures with the candidate theme (myst build --html, including the build-time Jupyter Book → MyST upgrade) and publishes to gh-pages at pr-preview/pr-<n>/ with a sticky link comment and teardown on close. Self-contained on GITHUB_TOKEN — no external preview service.

Removed

  • Retire the make deploy / deploy-theme targets — releases ship exclusively via the tag-triggered GitHub Release workflow, and the legacy build repo (QuantEcon/quantecon-theme) is archived. make build-theme now assembles the bundle locally instead of cloning the archived repo (so the CI test harness no longer depends on it), and a new make build-zip produces the release-equivalent zip for local artifact testing (#81).