Background goal
We have been linking to https://doc.wikimedia.org/codex/main/ as the canonical version of the docs site, which displays the docs site as generated by the current main branch. However, this has already led to multiple instances of confusion where a developer was trying to implement a component in MediaWiki, which contains the latest release of Codex, but reading the usage docs on the live site, which reflects a version that hadn't been released yet.
We already get an instance of the site for each release (see the different versions here). We should consider:
- Whether we should refer to the latest release's instance as the canonical version, to be shared widely
- If so, consider changing our Netlify setup to base the canonical version on the latest release, instead of forcing users to go to a new link every time a new release is cut
- Consider displaying a banner on non-canonical versions of the site (old releases, main branch, patch instances) to inform the user that they are not on the canonical version







