Skip to content

Add favicon assets#464

Merged
chalin merged 1 commit into
google:mainfrom
chalin:chalin-favicons-2026-0614
Jun 14, 2026
Merged

Add favicon assets#464
chalin merged 1 commit into
google:mainfrom
chalin:chalin-favicons-2026-0614

Conversation

@chalin

@chalin chalin commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

@chalin chalin changed the title Restore the site favicon via the theme's default favicons partial Add favicon assets Jun 14, 2026
- Contributes to google/docsy#2357
- Adds `favicon.svg`, `favicon.ico`, and `apple-touch-icon.png` under `static/` so the Docsy theme's default favicons partial discovers and links them; the example lost its favicon when google/docsy#2653 dropped the theme's bundled defaults
- Reuses docsy.dev's favicon assets verbatim -- all three files are byte-identical to docsy.dev's so the example provably uses the same Docsy-logo artwork it already shows in its navbar
- Bumps the Docsy theme module to a commit that includes the discovery partial (google/docsy#2654)
- Adds `tests/favicons.test.mjs` asserting the three discovered `<link>`s render in the built home page
@chalin chalin force-pushed the chalin-favicons-2026-0614 branch from 9b2f9b0 to 85f8730 Compare June 14, 2026 13:24
@chalin

chalin commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator Author

Validated on the deploy preview: https://deploy-preview-464--goldydocs.netlify.app/

  • All three favicon <link>s render in the home <head>:
    • <link rel=icon href=/favicon.ico sizes="16x16 32x32 48x48">
    • <link rel=icon href=/favicon.svg type=image/svg+xml>
    • <link rel=apple-touch-icon href=/apple-touch-icon.png>
  • All three assets serve HTTP 200 with the expected sizes (1624 / 15086 / 4361 bytes)
  • All three are byte-identical (sha256) to docsy.dev's source assets, so the example serves the same Docsy-logo artwork

@chalin chalin merged commit 983731b into google:main Jun 14, 2026
10 checks passed
@chalin chalin deleted the chalin-favicons-2026-0614 branch June 14, 2026 13:28
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