orbikm / mkdocs-ezlinks-plugin

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

All the links with the same name point to a single file #43

Open AlphaJack opened 2 years ago

AlphaJack commented 2 years ago

I have my docs organized in the following structure:

docs
└── courses
    ├── A
    │   ├── index.md
    │   └── target.md
    ├── B
    │   ├── index.md
    │   └── target.md
    └── C
        ├── index.md
        └── target.md

Every index page contains a link: [Target](target). This worked fine for A and B.

However, after adding C all the links in the rendered HTML pages point to "../C/target" instead of their own target.

Can I do something to prevent this or do I need to use [Target](target.md) so ezlinks use the file?