Skip to content

Fix docs build on Python 3.13#242

Merged
goncalossilva merged 1 commit intomainfrom
fix/docs-build-python-313
Apr 18, 2026
Merged

Fix docs build on Python 3.13#242
goncalossilva merged 1 commit intomainfrom
fix/docs-build-python-313

Conversation

@goncalossilva
Copy link
Copy Markdown
Member

Summary

  • bump pymdown-extensions from 10.16.1 to 10.21.2
  • fix the MkDocs deployment failure caused by source block highlighting on Python 3.13

Testing

  • uv sync --group docs --group dev
  • uv run mkdocs build

Fixes the failure from https://github.com/Doist/todoist-api-python/actions/runs/24593642771/job/71919381746

pymdown-extensions 10.16.1 crashes while mkdocstrings renders
source blocks with current Pygments. Bump to 10.21.2, which
includes the fix for None filenames in highlighted code blocks.
Copilot AI review requested due to automatic review settings April 18, 2026 01:37
@goncalossilva goncalossilva requested a review from a team as a code owner April 18, 2026 01:37
@goncalossilva goncalossilva requested review from roryist and removed request for a team April 18, 2026 01:37
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@goncalossilva goncalossilva merged commit 2d545bd into main Apr 18, 2026
5 checks passed
@goncalossilva goncalossilva deleted the fix/docs-build-python-313 branch April 18, 2026 01:38
Copy link
Copy Markdown
Member

@doistbot doistbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR effectively bumps pymdown-extensions to resolve the MkDocs deployment failure caused by source block highlighting on Python 3.13. The update is straightforward and ensures the documentation builds correctly in the new environment, and no issues were flagged during the review.

Share FeedbackReview Logs

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.

3 participants