Repository navigation
fix(docs): ship the favicon and the social card image - #1360
Merged
Merged
Conversation
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.
|
🎉 This PR is included in version 15.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This was referenced Dec 2, 2026
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.
Summary
Since #898,
docusaurus.config.jsreferenced two files that were never indocs/static/img:faviconimg/favicon.ico404, browsers show a generic iconthemeConfig.image(og:image,twitter:image)img/logo_big.pngBoth 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);faviconpoints to itdocs/static/img/logo_big.png→res/logo_big.png(1024 × 1024)The
Permissions-Policy: interest-cohortconsole warning comes from GitHub Pages' response headers and cannot be changed from the repo.Checks
npm run buildpasses; the build contains both images, and the page head hasrel=icon→img/favicon.pngandog: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).