Documentation process

The process for creating and maintaining GitLab product documentation depends on whether the documentation is associated with:

Delivered for a specific milestone and associated with specific code changes. This documentation has the highest priority.

It is usually not associated with a specific code change and has a lower priority.

Documentation is not usually required when a "backstage feature" is added or changed, and does not directly affect the way that any user or administrator interacts with GitLab.

Documentation labels

Regardless of the type of issue or merge request, certain labels are required when documentation is added or updated. The following are added by the issue or merge request author:

The following are also added by members of the Technical Writing team:

For a product change

This documentation is required for any new or changed feature and is:

Roles and responsibilities

Documentation for specific milestones involves the:

Each role is described below.

Developers

Developers are the primary author of documentation for a feature or feature enhancement. They are responsible for:

TIP: Tip: Community Contributors can ask for additional help from GitLab team members.

Authoring

Because the documentation is an essential part of the product, if a ~feature issue also contains the ~documentation label, you must ship the new or updated documentation with the code of the feature.

Technical Writers are happy to help, as requested and planned on an issue-by-issue basis.

For feature issues requiring documentation, follow the process below unless otherwise agreed with the Product Manager and Technical Writer for a given issue:

If the new or changed documentation requires extensive collaboration or conversation, a separate, linked issue can be used for the planning process.

Reviews and merging

Reviewers help ensure:

Prior to merging, documentation changes committed by the developer must be reviewed by:

Product Managers

Product Managers are responsible for the documentation requirements for a feature or feature enhancement. They can also:

For issues requiring any new or updated documentation, the Product Manager must:

Everyone is encouraged to draft the documentation requirements in the issue, but a Product Manager will do the following:

Technical Writers

Technical Writers are responsible for:

Planning

The Technical Writer:

Collaboration

By default, the developer will work on documentation changes independently, but the developer, Product Manager, or Technical Writer can propose a broader collaboration for any given issue.

Additionally, Technical Writers are available for questions at any time.

Review

Technical Writers:

The Technical Writer will review the documentation to check that the developer and code reviewer have ensured:

When documentation is required

Documentation is required for a milestone when:

NOTE: Note: Documentation refactoring unrelated to a feature change is covered in the other process, so that time-sensitive documentation updates are prioritized.

Documentation requirements

Requirements for the documentation of a feature should be included as part of the issue for planning that feature in a Documentation section within the issue description. Issues created using the Feature Proposal template have this section by default.

Anyone can add these details, but the Product Manager who assigns the issue to a specific release milestone will ensure these details are present and finalized by the time of that milestone's kickoff.

Developers, Technical Writers, and others may help further refine this plan at any time on request.

The following details should be included:

For all other documentation

These documentation changes are not associated with the release of a new or updated feature, and are therefore labeled backstage in GitLab, rather than feature. They may include:

TIP: Tip: Anyone can contribute a merge request or create an issue for GitLab's documentation.

Who updates the docs

Anyone can contribute! You can create a merge request for documentation when:

How to update the docs

To update GitLab documentation:

  1. Either:
  2. Click the Edit this Page link at the bottom of any page on https://docs.gitlab.com.
  3. Navigate to one of the repositories and documentation paths listed on the GitLab Documentation guidelines page.
  4. Follow the described standards and processes listed on the page, including:
  5. The Structure and template page.
  6. The Style Guide.
  7. The Markdown Guide.
  8. Follow GitLab's Merge Request Guidelines.

TIP: Tip: Work in a fork if you do not have Developer access to the GitLab project.

Request help from the Technical Writing team if you:

To request help:

  1. Locate the the Technical Writer for the relevant DevOps stage group.
  2. Either:
  3. If urgent help is required, directly assign the Technical Writer in the issue or in the merge request.
  4. If non-urgent help is required, ping the Technical Writer in the issue or merge request.

If you are a member of GitLab's Slack workspace, you can request help in #docs.

Reviewing and merging

Anyone with Maintainer access to the relevant GitLab project can merge documentation changes. Maintainers must make a good-faith effort to ensure that the content:

If the author or reviewer has any questions, they can mention the writer who is assigned to the relevant DevOps stage group.

The process involves the following:

The process is reflected in the Documentation merge request template.

Other ways to help

If you have ideas for further documentation resources please create an issue using the Documentation template.

Post-merge reviews

If not assigned to a Technical Writer for review prior to merging, a review must be scheduled immediately after merge by the developer or maintainer. For this, create an issue using the Doc Review description template and link to it from the merged merge request that introduced the documentation change.

Circumstances where a regular pre-merge Technical Writer review might be skipped include:

Remember:

Before merging

Ensure the following if skipping an initial Technical Writer review:

NOTE: Note: Merge requests that change the location of documentation must always be reviewed by a Technical Writer prior to merging.