Open dannysheridan opened 2 days ago
Link checker wishlist:
../../path/to/etc
and root-relative links /path/to/page
[...](#anchor)
(within same page) and [...](anotherpage#anchor)
## Heading [#custom-anchor]
src
- at least for ![](...)
and <img src="...">
syntaxes, also in <Frame>
components<Markdown src="../path/to/snippet.mdx" />
<Card href="...">
/path/to/page
, image srcs, etc.../path/to/smth
) in snippets are tricky because it depends on how they are resolved - relative to the snippet location or relative to the page where the snippet is used. Might be OK to not check relative links and instead advise the users to use root-relative links /path/to/page
in snippets because they will be more stable.canonical-url
in frontmatterredirects[].destination
) in docs.yml
, except bulk (:slug
) redirectsAlso if possible:
#anchor
links to individual parameters/fields/sections on API endpoint pagesNice to have:
Problem description
Identify broken links in Fern Docs. Throw warnings in the Fern CLI.
Why would it be useful?
SEO boost and improved navigation experience.
Additional context
It should identify that this header on the page doesn't exist and warn. (We have moved #audiences to it's own page.)