minad / olelo

Wiki with git backend
MIT License
241 stars 44 forks source link

Links are always relative to the current directory #43

Closed imrehg closed 13 years ago

imrehg commented 13 years ago

The links - as much as I understand - should be relative to the root, not to the current folder.

This means that effectively I can link only downstream, and e.g. links in the sidebar will change at every single page.

minad commented 13 years ago

On the sidebar you should use absolute paths /Path.

Linking to parent pages is possible with ../

I think this linking system is better because you can move whole folders in the structure without fixing every link.

imrehg commented 13 years ago

I see your point about convenience.

In that case, I think there should be at least a note, that the wiki language is not really Creole, just "Creole-like", since it does not follow the "links are relative to the wiki-root" convention. I could see problems if one wants to use the same wiki data with different engine - the links would be interpreted differently. Maybe these are fringe cases, I guess it's up to you to decide what is more important: folder-reorganization convenience or data portability.

minad commented 13 years ago

It supports multiple markup languages. So there is also the consistency issue between different languages. I think Creole doesn't specify hierarchical pages.

minad commented 13 years ago

by design