Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitLab custom wiki sidebar not working

  1. I "pulled" the wiki repository of my project.
  2. Created "_sidebar.md" file.
  3. Git add
  4. Git commit
  5. Pushed the changes to GitLab.
  6. Loaded the Wiki page of my project in Google Chrome's incognito mode.
  7. Custom sidebar is not rendered.

I refreshed many times. No luck.

This is the content of my _sidebar.md:

0. [Home](home)
1. [Page 1](page-1)
2. [Page 2](page-2)

Any ideas?

like image 489
honor Avatar asked Jul 06 '18 20:07

honor


1 Answers

It works now as VonC explained. However, you don't need to clone your repository.

Simply create a new page on GitLab GUI called _sidebar. You may access it by your-repository/wikis/_sidebar or create an edit link in your sidebar:

0. [Home](home)
1. [Page 1](page-1)
2. [Page 2](page-2)

[Edit sidebar](/_sidebar/edit)
like image 69
Adam Avatar answered Oct 11 '22 16:10

Adam