docusaurus: `Error: Broken links found!` facing on docusaurus build

πŸ› Bug Report

  • Recent build are getting failed with an below error message ,
ValidationError: themeConfig.navbar.links has been renamed as themeConfig.navbar.items
  • Replaced links with items on docusaurus.config.js
  • Again all sidebar links getting broke on docusaurus build

Build Logs

Error: Broken links found!

- Page path = /docs/dir1***/dir-2***/dir-3***:
   -> link to /<readme-file>
   -> link to /<readme-file>
   -> link to /<readme-file>
   -> link to /<readme-file>
   -> link to /<readme-file>

Note: it's possible to ignore broken links with the 'onBrokenLinks' Docusaurus configuration.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (1 by maintainers)

Most upvoted comments

Hi, not yet but I will release in the next hours (unless there’s a new important bug reported)

I stand corrected!

I was also able to find this in the original typescript defs, but nice work on the documentation search.

I have a fix ready, but @daniellavoie this is totally unrelated to how links to .md extensions are resolved, this part of the code did not change recently, so please double-check that referencing a md file path work for you (it should).

If this does not work, it’s a totally different bug to report with the full details