Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

On Gitlab, Is it possible to set a specific Wiki page different than "home"?

Tags:

gitlab

wiki

In a project repository, I created a Wiki, but have renamed "home" to something else. Now, when I go to the Wiki again, it asks to create a "first" page because "home" does not exist; is it possible to specify the landing page for a project's Wiki (i.e. change "home" to something else per project)?

like image 521
Yanick Rochon Avatar asked Jan 24 '23 19:01

Yanick Rochon


1 Answers

It is not possible (as of 14 Aug 2020). See documentation on the wiki.

The /home page appears to be the default wiki page, and if it is not created it seems that Gitlab will encourage you to create it every time you click the Wiki navlink. I tried myself to create a home page in a Wiki on Gitlab, delete the home page, then click on the Wiki again, and GitLab wants me to create the home page (although the other page that was renamed is still there).

What I recommend is to use the /home page as the landing page, and put a link to your other page on the /home page.

It does seem that this issue has been raised before, however, the GitLab team has yet to implement it as part of their codebase:

Old, original Feature Request

Open Feature Request (maybe this feature will be released soon)

I suspect that in the past, the default landing page was index.md, as indicated by these public-facing company GitLab landing pages, but there was still a forced default page:

Example 1

Example 2

like image 52
sorenKaram Avatar answered Mar 05 '23 17:03

sorenKaram