Skip to content

Pin pygments to fix readthedocs build failure - #15

Merged
yezr merged 1 commit into
releases/2.1.0/doc1.0from
fix/pin-pygments-readthedocs
Jul 28, 2026
Merged

yezr merged 1 commit into
releases/2.1.0/doc1.0from
fix/pin-pygments-readthedocs

Conversation

@artoonie

Copy link
Copy Markdown
Contributor

Pygments 2.20.0 has a regression (pygments/pygments#3076) where HtmlFormatter passes None instead of an empty string for a code block's filename option, crashing html.escape() during mkdocs-with-pdf's combined print-page.md render. Pin pygments<2.20.0 until it is patched upstream.

Pygments 2.20.0 has a regression (pygments/pygments#3076) where
HtmlFormatter passes None instead of an empty string for a code
block's filename option, crashing html.escape() during
mkdocs-with-pdf's combined print-page.md render. Pin pygments<2.20.0
until it is patched upstream.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@yezr
yezr merged commit dbc0867 into releases/2.1.0/doc1.0 Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants