byrnereese / linkchecker-mkdocs

Python asyncio + aiohttp Markdown *.md URL link checker: 10,000 files/second
MIT License
9 stars 4 forks source link

mkdocs extra links are not considered #4

Open weshouman opened 2 years ago

weshouman commented 2 years ago

Brief

URLs formed from the mkdocs extra variables are not checked.

Details

Following the mkdocs-theme documentation it's possible to have link variables defined/included in the mkdocs.yml by adding the bock

mkdocs.yml
extra:
  X:
    Y: "https://www.github.com/"

Then using it as following

docs\mydoc.md
[This is a URL]({{X.Y}}/byrnereese/linkchecker-mkdocs)

However, usage of variables while traversing mkdocs docs is ignored.

Technical Details

Note: that would require parsing mkdocs.yml for the extra node