jestjs / jest

Delightful JavaScript Testing.
https://jestjs.io
MIT License
44.08k stars 6.45k forks source link

[Docs]: Website deploy is broken #15238

Open SimenB opened 1 month ago

SimenB commented 1 month ago

Page(s)

https://app.netlify.com/sites/jestjs/deploys/66b079c587a7fa0008f883c2

Description

The build for some reason have started to complain about missing sidebar (for Chinese only).

image

Running yarn workspace jest-website build locally passes without any issues, so I'm not sure where to even begin looking.

@slorber any ideas? 😅

slorber commented 1 month ago

@SimenB one of your translators probably translated the front matter id of this doc to Chinese:

https://github.com/jestjs/jest/blob/main/docs/UpgradingToJest29.md

Then the Chinese sidebar now tries to reference an id that doesn't exist anymore since the id is in Chinese.

The solution is to delete the translation from Crowdin.

Unfortunately there's no way on Crowdin to automatically prevent translators from translating front matter, so this can happen again. At best you can click on the translated string and mark it as "hidden", on a per-string basis (time-consuming to mark them all as hidden, and won't cover newly added docs)

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.