orbikm/mkdocs-ezlinks-plugin

Links between deeply nested subfolders fails

Closed this issue · 4 comments

Hello. On my project, wikilinks doesn't seems to work.

My folder tree is :

docs/
├─ assets/
│  ├─ img/
│  │  ├─ img_char1.png
├─ Roleplay/
│  ├─ characters/
│  │  ├─ char1.md
│  ├─ references/
│  │  ├─ ref char1.md
  • All links pointing to img doesn't work
  • All link from char1 to ref char1 doesn't work.

Links is in a short path, as : [[filename]]

I have 404 error and the path pointed by links are :
image

After some try, it seems that after the 3rd folder, the links generations are broken.

image

I have reproduced your issue. I'm going to start investigating what is going on. Thank you for the report!

Hello !
I'm happy to help you :D

I think it's possible to use resolve from pathlib or maybe something around glob all file ?

Ok, this should be fixed now. Please pull down release 0.1.14 and let me know if this addresses it on your end. Feel free to re-open if the issue remains unresolved.

Once again, thanks for reporting the issue and using the plugin!

It doesn't seems to work, on my side at last (windows 11) :
image
image
image

image

Image are localized in assets/img who is in directly under docs (as docs/assets/img) and Mnémosyne folder is located in docs/Roleplay/Personnages/Mnémosyne