Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitLab: How to display Wiki as start page instead of readme?

Tags:

gitlab

I want to have the start page of the wiki of a project in GitLab as general start page for the project. Is this possible?

like image 434
mattmilten Avatar asked Nov 15 '15 20:11

mattmilten


People also ask

Where is GitLab wiki stored?

Files added in GitLab 11.3 and later: Files are stored in the wiki's Git repository. Files added GitLab 11.2 and earlier: Files are stored in GitLab itself.

How do I add a table of contents in GitLab?

To add a table of contents while editing a page, select the plus (+) icon in the toolbar, then select Table of Contents . The table of contents updates in real time as you create and edit subheadings on the page, helping you monitor the outline of your longer wiki pages.

Does GitLab have a wiki?

GitLab is scalable and can be hosted on-premises or on cloud storage. It also includes a wiki, issue-tracking, IDE, and CI/CD pipeline features.


2 Answers

This isn't currently possible. The only views available which you can find in /profile/preferences are activity and readme.

like image 124
FullStack Avatar answered Jan 02 '23 12:01

FullStack


This is possible because there's a bug in gitlab does exactly what you want, but only

  • for logged in users accessing
  • a public wiki-only project

So i guess „It's not a bug, it's a feature" ;)


Update

Having checked the example repository in the above linked issue, what you're asking for seems to be the default behaviour on gitlab.com now for wiki-only projects (which means you have to go into the settings and disable the repository feature).

I just verified that by setting up a fresh wiki-only project and it shows empty wiki page as homepage which was introduced in 12.5.

like image 41
Philzen Avatar answered Jan 02 '23 12:01

Philzen