Add astro-broken-links-checker to detect and fix broken internal links#42099
Add astro-broken-links-checker to detect and fix broken internal links#42099julien-deramond merged 12 commits intov6-devfrom
Conversation
|
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 32%, saving 5.1 KB.
|
abf54f1 to
77524b4
Compare
|
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 32%, saving 5.1 KB.
|
There was a problem hiding this comment.
I don't have a solution for that yet so I commented them for now. It appears that in a <BsTable> real links with <a> don’t work with [[config:*]], but Markdown links work with [[config:*]].
There was a problem hiding this comment.
Could turn this into regular Markdown headings/text/etc?
There was a problem hiding this comment.
I tested some things before even this PR, and I don't remember whether I tested that. Do you prefer a solution in this PR, or in a follow-up one?
mdo
left a comment
There was a problem hiding this comment.
Other than commented out buttons, looks great!
34af067 to
06ab76a
Compare
|
After the rebase, there were some new links to fix. Done via 0a39ede. |
…ocs/6.0/examples/
- %5B%5Bdocsref:/utilities/text-alignment%5D - %5B%5Bdocsref:/utilities/text-transform%5D - %5B%5Bdocsref:/utilities/text-decoration%5D - %5B%5Bdocsref:/utilities/text-wrapping%5D
…nks found in /docs/6.0/getting-started/install/
0a39ede to
ca3de0b
Compare
Description
This PR adds https://github.com/imazen/astro-broken-link-checker to detect internal broken links in our docs.
Without any modifications, here was the content of the
broken-links.loggenerated when runningnpm run docslocally:broken-links.log
Broken link: /docs/6.0/components/modal/
Fixed by 1f50a65
Broken link: /docs/6.0/assets/img/examples/dialogs.png
Fixed by 375aba8
Broken link: %5B%5Bdocsref:/utilities/text-alignment%5D
Fixed by a6923cf
Broken link: %5B%5Bdocsref:/utilities/text-transform%5D
Fixed by a6923cf
Broken link: %5B%5Bdocsref:/utilities/text-decoration%5D
Fixed by a6923cf
Broken link: %5B%5Bdocsref:/utilities/text-wrapping%5D
Fixed by a6923cf
Broken link: [[config:download.dist]]
Fixed by 423476a
Broken link: [[config:download.source]]
Fixed by 423476a
Broken link: /docs/forms/form-adorn
Fixed by 9149de9
Broken link: /docs/forms/input-group/
Fixed by fca3e5a
Broken link: /docs/6.0/forms/select/
Fixed by 9b9a99a
Broken link: /docs/6.0/forms/checks-radios/
Fixed by 77524b4