github-action-markdown-link-check
github-action-markdown-link-check copied to clipboard
Is there a way to make this work for relative links within a mkdocs project?
This looks like an excellent project. When I run it with my mkdocs repository, all of the relative links are marked as broken. I am wondering if there is a way for relative links to be resolved somehow?
So I continue to work on this problem. I have adapted my workflow as follows.
First, I publish the mkdocs site to github pages. With this site up and running, in theory, links should resolve. However, I have no way to specify the base URL for relative links via the github action. So all of my markdown links are coming back as invalid. So my problem persists.
Thanks @byrnereese
The markdown-link-check library only checks hyperlinks. Can you provide a link to the failed tests?
You can configure a BASEURL using https://github.com/tcort/markdown-link-check#config-file-format
This might not be the answer but if you can provide the link for the failed test I can have a look.