Links validation failures after updating to 2.0.0-alpha.61
See original GitHub issueš Bug Report
We are in the process of migrating Litho UI Framework website to Docusaurus v2. After updating Docusaurus setup to alpha.61
we started getting weird behaviour of not seeing the content of static/javadoc
folder on the website and prod build started to fail on links validation step.
Have you read the Contributing Guidelines on issues?
Yep
To Reproduce
Validation errors:
- Check out this PR: https://github.com/facebook/litho/pull/692
- Go to
website
folder and runyarn run build
for links validation to kick in - See lots of validation errors for
/javadoc/...
links
Navigation failures:
- Check out the same PR: https://github.com/facebook/litho/pull/692
- Go to
website
folder and runyarn run start
to access website locally - Open website URL and click to āAPIā item in the right part of the header
- Youāll see 404 error for the link
http://localhost:3000/javadoc/
- Update the page with
Cmd+R
/Ctrl+R
and youāll see the correct API Javadocs page
Expected behavior
No validation errors on build and /javadocs/...
links navigation working without reloads.
Actual Behavior
Validation errors:
Console log screenshot

Navigation failures: Video in Dropbox
Your Environment
- Docusaurus version used: 2.0.0-alpha.61
- Environment: Chrome 84.0.4147.125 (Official Build) (64-bit), Node.js 14.6.0):
- Operating system: MacOS 10.15.5
Reproducible Demo
- PR and repo: https://github.com/facebook/litho/pull/692
- website content folder: https://github.com/facebook/litho/tree/master/website
static/javadoc
folder: https://github.com/facebook/litho/tree/master/website/static/javadoc
Steps are present in āTo Reproduceā section.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11
Top Results From Across the Web
Releases - EPUBCheck - W3C
update HTML schemas from the HTML Checker (22fa3b1), closes #1111 ... fail gracefully when running on a non-EPUB file (#1134) (2083f05), closes #1050Ā ......
Read more >URL validation rejects existing valid content after upgrade to 7 ...
When I'm editing the node, the url validation failed. It reports: "The value content/dates-des-sessions provided for A lire aussi is not a validĀ ......
Read more >2.0.0-alpha.73 - Docusaurus
#4501 fix(v2): fail-safe usage of browser storage (localStorage/sessionStorage) when access is denied (@jknoxville).
Read more >Release Notes ā Security Onion 2.3 documentation
Also suppress error output for when so-elastalert container is missing. ... FIX: ACNG sometimes returns 503 errors when updating Ubuntu through the managerĀ ......
Read more >Change log for 4.9.53
Bug 2103982: Fix build on ARM after rebase #204 ... Cluster-autoscaler-FAQ: Updating link addresses for MinAvailable andĀ ...
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
Hi,
The escape hatch is mostly for sites that use a baseurl like
/myWebsiteBaseUrl
and yet they want to link to some page that is āoutsideā of the baseurl. If the content is in/static/javadoc
, we should prevent the broken link checker to report/javadoc
as a broken link. As this system is new, I didnāt think about that case š And yes images go through a different path, using webpackās file-loader system.So, Iād that weāll fix this soon, in the meantime you can ignore the broken link errors (or at least not throw) and re-enable later.
I have no idea what you are talking about š¤Ŗ
Iāve answered in https://github.com/facebook/docusaurus/issues/3309#issuecomment-678249433, to keep navigation discussion in its own issue.