Skip to content

docfx.json: wire favicon assets (was silently skipped in earlier fanout)#199

Merged
Chris-Wolfgang merged 1 commit into
mainfrom
fix/docfx-favicon-wire
Jun 18, 2026
Merged

docfx.json: wire favicon assets (was silently skipped in earlier fanout)#199
Chris-Wolfgang merged 1 commit into
mainfrom
fix/docfx-favicon-wire

Conversation

@Chris-Wolfgang

Copy link
Copy Markdown
Owner

Summary

The earlier favicon fanout (feature/docs-favicon) added docfx_project/favicon.svg|.ico + apple-touch-icon.png but its docfx.json patch silently failed on most repos. The files are on main, DocFX has no idea about them, and the rendered site still uses the default DocFX favicon instead of the W.

This PR adds the wiring:

  • build.resource[0].files — adds favicon.svg, favicon.ico, apple-touch-icon.png so the assets are copied to _site/
  • build.globalMetadata._appFaviconPath — set to favicon.svg, the DocFX modern template's native favicon hook (emits <link rel="icon" href="favicon.svg">)

No other changes to docfx.json. Built with the same Node.js JSON-aware transform used for the canonical ruleset fixes, so no comment/key-order corruption.

@Chris-Wolfgang Chris-Wolfgang merged commit 96da936 into main Jun 18, 2026
8 checks passed
@Chris-Wolfgang Chris-Wolfgang deleted the fix/docfx-favicon-wire branch June 18, 2026 23:05
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