Non-ASCII characters take up more than one byte. 245 bytes for page titles (reserving 10 bytes for the file extension).Problem, the GitLab web interface and API enforce these limits: Local copy of a wiki that contains filenames exceeding this limit. However, if your file system enforces these limits, you cannot check out a Git and GitLab both support paths exceeding Many common file systems have a limit of 255 bytesįor file and directory names. Length restrictions for file and directory names For example, a title of docs/my-page creates a wiki If youĬreate a title containing / characters, GitLab creates all the subdirectories Slashes ( /) are used as path separators, and can’t be displayed in titles.Hyphens ( -) are converted back into spaces when displaying a page.Spaces are converted into hyphens when storing a page.Wiki pages are stored as files in a Git repository, so certain characters have a special meaning: Supported extensions, depending on the markup language you wish to use.įiles with unsupported extensions don’t display when pushed to GitLab: Locally, select Clone repository from the right-hand sidebar of any wiki page,įiles you add to your wiki locally must use one of the following Them like you would do with every other Git repository. Wikis are based on Git repositories, so you can clone them locally and edit Attach a file, and GitLab stores it in the wiki’s Git repository. Special characters for subdirectories and formatting, Select New page on this page, or any other wiki page.Users with at least the Developer role can create new wiki pages: Git requires a commit message, so GitLab creates one Add a welcome message for your home page in the Content section.Title serves as the front page for your wiki. GitLab requires this first page be titled home.For group wikis, select Groups and find your group.For project wikis, select Projects and find your project.Home page users see when viewing the wiki. GitLab versions 14.0 and earlier: GitLab uses master.įor previously created wikis.If no custom value is configured, GitLab uses main. GitLab versions 14.1 and later: Wikis inherit the. The default branch for your wiki repository depends on your version of GitLab: If Wiki is not listed in the left sidebar of your project, a project administrator On any page in the project, use the g + w wiki keyboard shortcut.On the top bar, select Main menu > Projects and find your project.With sibling pages listed in alphabetical order. Sidebar contains a partial list of pages in the wiki, displayed as a nested tree, Wiki pages display a sidebar, which you can customize. Wiki pages written in Markdown support all Markdown features,Īnd also provide some wiki-specific behavior GitLab wikis support Markdown, RDoc, AsciiDoc, and Org for content. Wiki pages in the web interface, or locally using Git. Every wiki is a separate Git repository, so you can create To keep it in the same project as your code, you can use the wiki GitLab provides If you don’t want to keep your documentation in your repository, but you want
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |