Fix light mode logo not displayed due to privacy plugin 429 errors#44
Merged
Fix light mode logo not displayed due to privacy plugin 429 errors#44
Conversation
Co-authored-by: braniii <28560129+braniii@users.noreply.github.com>
Co-authored-by: braniii <28560129+braniii@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix light logo not displayed on github.io
Fix light mode logo not displayed due to privacy plugin 429 errors
Nov 19, 2025
braniii
approved these changes
Nov 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The MkDocs privacy plugin was attempting to download logo images from GitHub URLs and hitting rate limits (429 errors), causing the light mode logo to fail rendering on github.io.
Changes
Logo references
docs/logo_large_*.svg) for GitHub renderinglogo_large_*.svg) for MkDocsTheme-aware display
.darkmode/.lightmodeCSS rules using existing--md-logo-*-modevariables to toggle visibility based on themeBuild fix
src.mosaic.__main__→mosaic.__main__(matches installed package structure)Result
Light mode:

Dark mode:

No external requests for logo assets, no 429 errors.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cdn.jsdelivr.net/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs serve --no-livereload(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean --verbose(dns block)codecov.io/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs serve --no-livereload(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean --verbose(dns block)img.shields.io/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs serve --no-livereload(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean --verbose(dns block)numpy.org/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs serve --no-livereload(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean --verbose(dns block)polyfill.io/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs serve --no-livereload(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean --verbose(dns block)static.pepy.tech/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs serve --no-livereload(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean --verbose(dns block)unpkg.com/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs serve --no-livereload(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean(dns block)/usr/bin/python3 /home/REDACTED/.local/bin/mkdocs build --clean --verbose(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.