Skip to content

Pin selectolax to 0.4.x to fix missing images - #652

Merged
V1EngineeringInc merged 1 commit into
V1EngineeringInc:masterfrom
jeyeager65:image-fix
Oct 18, 2026
Merged

V1EngineeringInc merged 1 commit into
V1EngineeringInc:masterfrom
jeyeager65:image-fix

Conversation

@jeyeager65

Copy link
Copy Markdown
Contributor

Images are no longer showing on docs.v1e.com because the built pages are missing their <img> tags. The image files themselves are still deployed.

Cause
mkdocs-glightbox requires selectolax>=0.3.29 with no upper bound. The last working deploy installed selectolax 1.0.0. The most recent deploy picked up the new 1.0.1 release, and with that version glightbox strips the <img> tags out of every page during the build.

Fix
Pin selectolax~=0.4.13 in requirements.txt. This stays on the 0.4.x line, which predates the new 1.x releases, and still allows 0.4.x patch updates.

Testing
Local mkdocs build, counting <img> tags in lowrider/index.html:

selectolax <img> tags
1.0.1 2 (header logo only)
0.4.13 158

Once glightbox or selectolax ships a fix for 1.x, the pin can be removed.

selectolax 1.0.1 causes mkdocs-glightbox to strip <img> tags from the
built pages, so images no longer appear on docs.v1e.com. 0.4.13 builds
correctly.
@V1EngineeringInc

Copy link
Copy Markdown
Owner

Thank you!!!

We need to move off mkdocs real soon, I am not looking forward to that.

@V1EngineeringInc
V1EngineeringInc merged commit 620e281 into V1EngineeringInc:master Oct 18, 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