-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PR] Linting markdown files and checking for broken internal and external links #11
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 3 +1
Lines 138 211 +73
Branches 20 30 +10
=========================================
+ Hits 138 211 +73 ☔ View full report in Codecov by Sentry. |
…DME.md to track click-through
Keep getting this error, darn it.
|
|
Trying to debug
for ages now.
|
@nelsonic this should be ready for review 👌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @LuchoTurtle. 👍
Thanks. 😊
closes #10
This PR adds a few new features:
.mdx
files and checks if they are alive. It additionally checks if themailto
e-mail addresses are valid and do exist. This package goes over the data content generated by https://github.com/contentlayerdev/contentlayer to find the links..mdx
files, applying linting according to default rules. These rules can be found at https://github.com/DavidAnson/markdownlint#rules--aliases. This script checks for the integrity of internal links, finding broken anchors between local documents (including sections).