v1 for validating links
Todo:
- links to api docs
- links with anchors
Differential D6666
[docs-infra] broken link test yuhan on Feb 25 2021, 10:20 AM. Authored by Tags None Subscribers None
Details
v1 for validating links
yarn test locally captured 486 broken links and they all make sense (yay!) will enable the test in bk later (when we are pretty much done with the concept content)
Diff Detail
Event TimelineComment Actions Wow, nice work! This is great. I don't want you to rewrite a large portion of this, but just a few tips in case you want to clean some of the logic up here and have this logic be consistent with some of the other AST parsing we do: You're currently using the compiler directly from MDX, but you may want to go through the remark (https://github.com/remarkjs/remark) interface to process the MDX.
These are just tips and definitely not blocking. Totally up to you about how you want to implement this. Feel free to keep as is, pending TODOs.
|