Remove onBrokenLinks? #96

Open
opened 2023-11-29 08:47:00 +00:00 by yp05327 · 0 comments

https://docusaurus.io/docs/api/docusaurus-config#onBrokenLinks
By default, when broken links detected, it will throw errors, but it is ignored and causes some problems now.
e.g.
image
image

And you can find this in action logs:
https://gitea.com/gitea/gitea-docusaurus/actions/runs/705#jobstep-9-87

So I think it is better to remove onBrokenLinks to ensure no broken links in docs.

https://docusaurus.io/docs/api/docusaurus-config#onBrokenLinks By default, when broken links detected, it will throw errors, but it is ignored and causes some problems now. e.g. ![image](/attachments/1b74189c-7289-42ca-9d61-dd09a6cb26a1) ![image](/attachments/0cf3cdc3-76b5-40b1-81c2-9bc549597d8b) And you can find this in action logs: https://gitea.com/gitea/gitea-docusaurus/actions/runs/705#jobstep-9-87 So I think it is better to remove `onBrokenLinks` to ensure no broken links in docs.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/gitea-docusaurus#96
No description provided.