mkdocs-ezlinks-plugin icon indicating copy to clipboard operation
mkdocs-ezlinks-plugin copied to clipboard

Links between deeply nested subfolders fails (bis)

Open Karreg opened this issue 1 year ago • 2 comments

Hello,

I'm new to ezlinks, as I'm trying to work on both obsidian, and mkdocs publication of the obsidian vault.

It looks like the bug #35 has not been fixed, as I still have the issue.

Here is the structure used:

content/
├─ blog/
│  ├─ posts/
│  │  ├─ post.md
├─ campaign/
│  ├─ characters/
│  │  ├─ john.md

in the post.md file, I use this code:

...
This is [[John]]
...

the john.md contains:

# John

Hey I'm John!

When generating the site, the created link go up to the root, but does not go down to the john directory:

INFO    -  Doc file 'blog/posts/post.md' contains an unrecognized relative link '../../john', it was left as is.

It looks like the #35 was not fixed, as per the last comment from @Lisandra-dev ?

It's happening in linux by the way. Not sure it's of any help.

Karreg avatar Dec 14 '23 14:12 Karreg

Could you try to use my fork? It's the same name but with ezlinked. (Sorry, can't provide the link right now)

Mara-Li avatar Dec 14 '23 14:12 Mara-Li

Your fork fixed the issue. Thanks a lot! I was digging through ezlinks, it looks like the issue might be on handling spaces in filenames. However, I'll stick to your fork. Thanks again! I can now publish my ongoing campaign, I see we have the same use case here...

I'll leave this issue open, just in case.

Karreg avatar Dec 14 '23 14:12 Karreg