docusaurus-build generates a broken website
See original GitHub issue🐛 Bug Report
(I did not change anything in the website/configurations)


Reproducible Demo
https://github.com/stavalfi/docusaurus-broken-build
nothing was changed in siteConfig.js.
node v: v8.11.3 (later tested with 10.10.3 as well - same results). yarn v: 1.16.0 mac v: mojave 10.14.3
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
docusaurus.config.js
The broken links detection is only available for a production build ( docusaurus build ).
Read more >Deep linking in docusaurus generated site fails. Why? [closed]
ampersandtarski.github.io is a site generated with docusaurus and hosted by github pages. Currently, during generation docusaurus doesn't detect ...
Read more >Internal Links Checker | Voters - Docusaurus
Check that internal links on the pages are not broken. Links often break when we restructure docs/move things around and it would be...
Read more >Create a site with markdown - Docusaurus Tutorial - 雑多制作
md file in the docs directory to create a page. Customizing CSS; Build for the production environment; Notes on building; Check the built...
Read more >Documentation Introduction | Operational Recovery Cloud ...
The project utilizes the open-source static website generator Docusaurus to build ... Under the docs/about directory information is broken up based on the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Build is not broken. You are probably serving the build dir from wrong folder.
What command did you run to serve the build locally ? Send screencast …
Will re-open if proven not working
@LLejoly there’s ongoing work to provide an official “docusaurus serve” command: https://github.com/facebook/docusaurus/issues/3062
This is a jamstack SPA project, not all http servers will work perfectly with it, so we’d rather recommend one.