Skip to content

Bump quantecon-book-theme 0.15.1 → 0.21 (layout review needed) #23

Description

@mmcky

Part of #22.

environment.yml pins quantecon-book-theme==0.15.1 (early 2023 — appears copied from an older repo's env). The theme is now at 0.21.0 (released 2026-06-04), and the lecture family runs 0.20.2–0.21.0, so dp.quantecon.org visibly diverges from its sibling sites (sidebar, toolbar, Colab integration).

Why this isn't a mechanical bump: 0.21.0 ships a deliberate layout overhaul (sidebar/content overlap fix at 1024–1499px, fixed toolbar, RHS TOC overflow — see the 0.21.0 release notes), and several html_theme_options keys changed between 0.15 and 0.21. Someone needs to build the site and visually review it.

Decision needed:

  • Go straight to >=0.21,<0.22 (recommended — lecture-python.myst is already on 0.21.0, so its experience is informative), or step via 0.20.3 first
  • Review lectures/_config.yml html_theme_options against the current theme docs and adjust changed keys
  • Build (PR preview or workflow_dispatch on cache.yml) and visually check sidebar/toolbar/Colab badge/TOC
-    - quantecon-book-theme==0.15.1
+    - quantecon-book-theme>=0.21,<0.22

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions