page-slug is incompatible with gollum
Created by: jonnyyu
Hi guys,
Thanks for the great work in GitLab, I am trying to migrate my gollum wiki into Gitlab, and I met some issues that makes the wiki links completely broken. After some investigation, I'd like to share my findings.
- Absolute path:
In gollum Readme, it says
Absolute paths point to a static file relative to the Gollum repo's root
, so the page-slug[Link](/path/page)
should be mapped tohttp://mygitlab/myrepo/wikis/path/page
, but it is mapped tohttp://mygitlab/path/page
now. - Relative path:
In gollum Readme, it says
Relative paths point to a static file relative to the page file within the directory structure of the Gollum repo
.
Rewrite same example in relative path style,[Link](path/page)
, this time Gitlab translates the url correctly,http://mygitlab/myrepo/wikis/path/page
, but it still couldn't find the page and show me page editor to add new page.
Is this an issue in Gitlab Wiki or I am mis-understanding gollum's doc? Thanks!