Skip to content

Cherry-pick swift.org favicon to release/6.4.x - #171

Merged
heckj merged 1 commit into
swiftlang:release/6.4.xfrom
heckj:favicon-6.4.x
Sep 18, 2026
Merged

heckj merged 1 commit into
swiftlang:release/6.4.xfrom
heckj:favicon-6.4.x

Conversation

@heckj

@heckj heckj commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Cherry-picks updating favicon.ico #163 onto release/6.4.x, which builds the published latest docs.
  • Installs the swift.org-branded favicon.ico/favicon.svg into each .docc catalog before building, and restores it after DocC's static-hosting transform (which otherwise overwrites it with DocC's own default). Without this, release/6.4.x's published output shows the generic DocC favicon instead of the Swift logo used everywhere else.

Test plan

  • python3 -m unittest test_build_docs — 175 tests pass

@heckj heckj self-assigned this Sep 18, 2026
* updating favicon.ico to use from swift.org, and copy into docc catalogs prior to building/merging
* final transform overwrites all the HTML - and the favicon - so we at the moment we need to post-process it back into place
* making sure favicon.svg is the Swift logo as well - although visually different from favicon.ico (mask-icon usage expected)
* updating gitignore for the favicon.ico replicating
* escaping .ico and .svg from license header checks
@heckj
heckj merged commit 94b06f0 into swiftlang:release/6.4.x Sep 18, 2026
12 checks passed
@heckj
heckj deleted the favicon-6.4.x branch September 18, 2026 16:27
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