orbikm / mkdocs-ezlinks-plugin

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

Update file searching to support partial paths #20

Closed orbikm closed 3 years ago

orbikm commented 3 years ago

You can now link to folder1/index.md and folder2/index.md, or folder1/index and folder2/index. This allows disambiguating duplicate filenames from separate unique paths.

This works across all link types supported by EzLinks.

Resolves: #18

orbikm commented 3 years ago

Need to add a few more test cases, as well as update some documentation to include link disambiguation. I believe this approach will be a flexible and scalable way to disambiguate to any level of specificity (e.g. [Test](folder1/folder2/folder3/folder4/folder5/folder6/index) vs. [Test](folder6/index).