Skip to content

v0.17.0

Choose a tag to compare

@mmcky mmcky released this 19 Feb 05:18
· 68 commits to main since this release

Sticky TOC & Color Scheme System

Breaking Changes

  • Removed individual color options — emphasis_color, emphasis_color_dark, strong_color, strong_color_dark, definition_color, definition_color_dark have been replaced by the new color_scheme option. Migrate to the built-in seoul256 scheme or a custom_color_scheme.css file.

Added

  • Sticky table of contents with scroll highlighting (#350, #133)
    • sticky_contents option enables a fixed-position RHS TOC that tracks scroll position
    • Scroll spy highlights the currently visible section
    • Auto-expand subsections show the active hierarchy (contents_autoexpand)
    • Copy section link: hover over any TOC entry to copy the full URL with anchor
    • Back to top button appears after scrolling down 300px
    • New scrollspy.js module with requestAnimationFrame throttling
  • CI: /update-snapshots command (#362) for regenerating Playwright visual baselines

Changed

  • Text color scheme system (#360) — new color_scheme theme option (seoul256, gruvbox, none)
    • Seoul256 palette: dark teal/dark amber (light), medium-light teal/light amber-gold (dark)
    • Gruvbox palette: earthy aqua/warm orange (light), light aqua/bright orange (dark)
    • Custom override via custom_color_scheme.css in project _static/

Fixed

  • Math equation visual test stability (#361) — regenerated stale snapshots, increased tolerance

Full Changelog: v0.16.0...v0.17.0