orbikm / mkdocs-ezlinks-plugin

Plugin for mkdocs which enables easier linking between pages
MIT License
34 stars 17 forks source link

Links between deeply nested subfolders fails #40

Open Mara-Li opened 2 years ago

Mara-Li commented 2 years ago

Sorry, as I can't reopen the my last issue, I create a new :)

So, the problem still persist :

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

Note : I use, effectively, Windows 11.

Andre601 commented 2 years ago

Not sure if my issue is related to this, but I also encounter issues when using EZLinks. In my case is it caused when using it alongside the i18n plugin.

A URL like /assets/images/cats.png in file docs/en/info/about.md results in ....\assets\images\cats.png being created which is obviously wrong.

Checking console prints warnings such as WARNING - Documentation file 'en\info\about.md' contains a link to 'en\about\..46.\assets\images\cats.png' which is not found in the documentation files.

This shows to me that there is some broken escaping of the \ which results in the dot . being turned into its character value (46). This is a seriously annoying bug that I hope will be fixed soon.