Skip to content

Add Polars cheatsheet, announcement blog post, and TOC fixes - #379

Merged
jeroenjanssens merged 13 commits into
mainfrom
polars-cheatsheet
Aug 18, 2026
Merged

Add Polars cheatsheet, announcement blog post, and TOC fixes#379
jeroenjanssens merged 13 commits into
mainfrom
polars-cheatsheet

Conversation

@jeroenjanssens

@jeroenjanssens jeroenjanssens commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add Polars cheatsheet with PDF, Illustrator source, hex logo, example images, and full markdown content
  • Add blog post announcing the cheatsheet
  • Add profile for Thijs Nieuwdorp (co-author)
  • Enable TOC sidebar on cheatsheet pages
  • Fix TOC overflow/overlap when an expanded section has many sub-items
  • Allow cheatsheets to use a custom page image instead of the auto-derived software logo
  • Add *.tmp to .gitignore

Test plan

  • Verify Polars cheatsheet renders correctly with TOC, hex logo, and orange background
  • Verify blog post renders correctly (note: date is 2026-08-18, use --buildFuture)
  • Verify other cheatsheets still show software logos (e.g., dplyr, ggplot2)
  • Verify TOC doesn't overflow/overlap on pages with many sub-items
  • Verify Thijs Nieuwdorp profile page renders correctly

Cheatsheets always have rich content with headings but the TOC was
gated behind a param that was never set. Add resource_type check so
cheatsheets get a TOC automatically like videos do.
The .expanded class set overflow: visible which broke the parent scroll
container's clipping, causing items to render outside the scrollable
area. Removed it and increased max-height to accommodate long lists.
When a cheatsheet sets a custom image (not page-*.png), use it instead
of the auto-derived software logo. Also clears software_images to
prevent the multi-hex card layout from taking over.
@netlify

netlify Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploy Preview for posit-open-source canceled.

Name Link
🔨 Latest commit 3d51d4a
🔍 Latest deploy log https://app.netlify.com/projects/posit-open-source/deploys/6a8371f6bcd1c600070916e1

@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

@jeroenjanssens
jeroenjanssens marked this pull request as draft August 13, 2026 15:07
@jeroenjanssens jeroenjanssens changed the title Add Polars cheatsheet and fix TOC on resource pages Add Polars cheatsheet, announcement blog post, and TOC fixes Aug 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Blog YAML Checks

content/blog/polars-cheatsheet-announcement/index.md

  • ⚠️ software is missing. Use folder names from content/software/.

Summary: 1 files checked, 1 warnings

@jeroenjanssens
jeroenjanssens marked this pull request as ready for review August 18, 2026 08:27
@jeroenjanssens
jeroenjanssens merged commit 4707154 into main Aug 18, 2026
13 checks 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.

1 participant