doc/development/documentation/_index.md
The GitLab documentation is the single source of truth (SSoT) for information about how to configure, use, and troubleshoot GitLab. Everyone is welcome to contribute to the GitLab documentation.
The following instructions are for community contributors.
Prerequisites:
To update the documentation:
In the GitLab community fork, go to the /doc directory.
Find the documentation page you want to update. If you're not sure where the page is, look at the URL of the page on https://docs.gitlab.com. The path is listed there.
Alternatively, if you are already on the documentation page you would like to update, scroll to the bottom and on the footer, select View page source. This link takes you directly to the source file.
In the upper right, select Edit > Edit single file.
Make your updates.
When you're done, in the Commit message text box, enter a commit message. Use 3-5 words, start the first word with a capital letter, and do not end the phrase with a period.
Select Commit changes.
A new merge request opens.
On the New merge request page, select the Documentation template and select Apply template.
In the description, write a brief summary of the changes and link to the related issue, if there is one.
Select Create merge request.
After your merge request is created, look for a message from GitLab Bot. This message has instructions for what to do when you're ready for review.
You don't need an issue to update the documentation, but if you're looking for open issues to work on, review the list of documentation issues curated specifically for new contributors.
When you find an issue you'd like to work on:
You can try installing and running the Vale linting tool and fixing the resulting issues.
To make GitLab documentation easier to use around the world, we plan to have product documentation translated and published in other languages.
The file structure and initial translations have been created, but this project is not complete.
After the official public release of the translated documentation, we will share details on how to help us improve our translations. But while this work is in progress, we cannot accept contributions to any translations of product documentation.
Additionally, only localization team members can change localization-related files.
Ask for help from the Technical Writing team if you:
To identify someone who can help you:
If you are a member of the GitLab Slack workspace, you can request help in the #docs channel.
If you already have your own fork of the GitLab repository, you can use it, rather than using the GitLab community fork.
The changes were added to GitLab in your forked repository, in a branch with the name noted in the last step.
Now, create a merge request. This merge request is how the changes from your branch
are merged into the GitLab master branch.
master branch.After your merge request is created, look for a message from GitLab Bot. This message has instructions for what to do when you're ready for review.