Skip to content

fix(docs): ship the favicon and the social card image - #1360

Merged
kimpenhaus merged 1 commit into
mainfrom
fix/docs-favicon
Nov 29, 2026
Merged

kimpenhaus merged 1 commit into
mainfrom
fix/docs-favicon

Conversation

@kimpenhaus

Copy link
Copy Markdown
Collaborator

Summary

Since #898, docusaurus.config.js referenced two files that were never in docs/static/img:

Setting Path Effect
favicon img/favicon.ico 404, browsers show a generic icon
themeConfig.image (og:image, twitter:image) img/logo_big.png link previews without image

Both now link to the existing images in res/, like the navbar logo already does (img/logo.png → res/logo.png):

  • docs/static/img/favicon.png → res/icon.png (128 × 128); favicon points to it
  • docs/static/img/logo_big.png → res/logo_big.png (1024 × 1024)

The Permissions-Policy: interest-cohort console warning comes from GitHub Pages' response headers and cannot be changed from the repo.

Checks

  • npm run build passes; the build contains both images, and the page head has rel=icon → img/favicon.png and og:image/twitter:image → img/logo_big.png.
  • /code-review (low): no findings beyond committing the new links.
  • /simplify, /security-review: not applicable (config and asset links only).

The site referenced img/favicon.ico and img/logo_big.png, but neither
file was in docs/static/img, so browsers showed a generic icon (404 on
favicon.ico) and link previews had no image. Link both from res/, like
the navbar logo, and use the PNG icon as favicon.
@kimpenhaus
kimpenhaus enabled auto-merge (squash) November 29, 2026 01:21
@kimpenhaus
kimpenhaus merged commit b42ffae into main Nov 29, 2026
7 checks passed
@kimpenhaus
kimpenhaus deleted the fix/docs-favicon branch November 29, 2026 01:27
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 15.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant