Page MenuHomePhabricator

docs site: Update favicon with the new Codex logo
Closed, ResolvedPublic

Description

Background

The Codex site is up to date with the new Codex logo designed in T292757 while the favicon is still using the Wikimedia logo.

Captura de pantalla 2025-09-04 a las 17.50.35.png (530×214 px, 27 KB)

Technical notes

The issue is a problem with the favicon URL definition in VitePress. The favicon is already there and linked, but it currently features an absolute path (/favicon.ico).
Whatever path you define in VitePress by

head: [
  [ 'link', { rel: 'icon', href: '/favicon.ico' } ]
]

is not managed by VitePress as it is meant for arbitrary tags you like to inject. It just drops whatever you wrote into <head> literally.

Therefore we need to change base ourselves if we want head entries to follow the same pathing rules

Acceptance criteria

  • Update favicon with the new Codex logo

Event Timeline

Change #1184956 had a related patch set uploaded (by VolkerE; author: VolkerE):

[design/codex@main] build: Fix favicon paths in VitePress config

https://gerrit.wikimedia.org/r/1184956

Volker_E moved this task from Backlog to Code Review on the Codex board.
Volker_E added a subscriber: lwatson.

Change #1184956 merged by jenkins-bot:

[design/codex@main] build: Fix favicon paths in VitePress config

https://gerrit.wikimedia.org/r/1184956

DTorsani-WMF triaged this task as Low priority.
DTorsani-WMF moved this task from Code Review to Pending Release on the Codex board.

Change #1191541 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/core@master] Update Codex from v2.3.1 to v2.3.2

https://gerrit.wikimedia.org/r/1191541

Change #1191541 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v2.3.1 to v2.3.2

https://gerrit.wikimedia.org/r/1191541