Support anchor links in mint broken-links
#1603
Replies: 3 comments 2 replies
-
|
+1, especially given that most crawler link checkers do not support fragment anchors in Mintlify, so it seems there's no good way to check them now. |
Beta Was this translation helpful? Give feedback.
-
|
Strong +1 This is a big pain for our organization because we have large reference docs that need to anchor link to each section |
Beta Was this translation helpful? Give feedback.
-
|
I believe this is now supported: https://www.mintlify.com/docs/installation#find-broken-links Looks like there is a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Update: this now works by running
mint broken-links --check-anchors, so I'm closing the discussion.It would be awesome (and quite useful) if
mint broken-linkssupported checking for broken anchor links.Here's an example, based on our own experience:
/features) with a few subsections, defined ash2titles/features#feature-oneand/features#feature-twofrom other pages/features#feature-threenow lives infeatures/feature-three)/features#feature-threepoint to the wrong thing, but runningmint broken-linksshows no broken linksIf the CLI could look into the page contents, and realize that there's no
#feature-threeanchor ID on the destination page, it could show a warning.Thanks in advance! 🙌🏼
Beta Was this translation helpful? Give feedback.
All reactions