Commit 57e500e0 authored by Russell Dickenson's avatar Russell Dickenson Committed by Marcel Amirault

Removed trailing spaces from docs source files

parent 99572820
...@@ -180,7 +180,7 @@ docker login gitlab.example.com:5050 ...@@ -180,7 +180,7 @@ docker login gitlab.example.com:5050
### Configure Container Registry under its own domain ### Configure Container Registry under its own domain
When the Registry is configured to use its own domain, you need a TLS When the Registry is configured to use its own domain, you need a TLS
certificate for that specific domain (for example, `registry.example.com`). You might need certificate for that specific domain (for example, `registry.example.com`). You might need
a wildcard certificate if hosted under a subdomain of your existing GitLab a wildcard certificate if hosted under a subdomain of your existing GitLab
domain, for example, `registry.gitlab.example.com`. domain, for example, `registry.gitlab.example.com`.
......
...@@ -64,7 +64,7 @@ is the same as [getting the job's artifacts](#get-job-artifacts), but by ...@@ -64,7 +64,7 @@ is the same as [getting the job's artifacts](#get-job-artifacts), but by
defining the job's name instead of its ID. defining the job's name instead of its ID.
NOTE: **Note:** NOTE: **Note:**
If a pipeline is [parent of other child pipelines](../ci/parent_child_pipelines.md), artifacts If a pipeline is [parent of other child pipelines](../ci/parent_child_pipelines.md), artifacts
are searched in hierarchical order from parent to child. For example, if both parent and are searched in hierarchical order from parent to child. For example, if both parent and
child pipelines have a job with the same name, the artifact from the parent pipeline will be returned. child pipelines have a job with the same name, the artifact from the parent pipeline will be returned.
......
...@@ -1004,7 +1004,7 @@ order for it to take effect: ...@@ -1004,7 +1004,7 @@ order for it to take effect:
value of zero disables approvals for that project. value of zero disables approvals for that project.
1. The provided value of `approvals_before_merge` must be greater than the 1. The provided value of `approvals_before_merge` must be greater than the
target project's `approvals_before_merge`. target project's `approvals_before_merge`.
1. This API returns 201 (created) for a successful response. 1. This API returns 201 (created) for a successful response.
```json ```json
{ {
......
...@@ -222,7 +222,7 @@ curl --request POST "https://gitlab.example.com/api/v4/snippets" \ ...@@ -222,7 +222,7 @@ curl --request POST "https://gitlab.example.com/api/v4/snippets" \
```json ```json
{ {
"title": "This is a snippet", "title": "This is a snippet",
"description": "Hello World snippet", "description": "Hello World snippet",
"visibility": "internal", "visibility": "internal",
"files": [ "files": [
...@@ -310,10 +310,10 @@ curl --request PUT "https://gitlab.example.com/api/v4/snippets/1" \ ...@@ -310,10 +310,10 @@ curl --request PUT "https://gitlab.example.com/api/v4/snippets/1" \
```json ```json
{ {
"title": "foo", "title": "foo",
"files": [ "files": [
{ {
"action": "move", "action": "move",
"previous_path": "test.txt", "previous_path": "test.txt",
"file_path": "renamed.md" "file_path": "renamed.md"
} }
......
...@@ -9,7 +9,7 @@ type: howto ...@@ -9,7 +9,7 @@ type: howto
Interacting with a major cloud provider may have become a much needed task that's Interacting with a major cloud provider may have become a much needed task that's
part of your delivery process. With GitLab you can part of your delivery process. With GitLab you can
[deploy your application anywhere](https://about.gitlab.com/stages-devops-lifecycle/deploy-targets/). [deploy your application anywhere](https://about.gitlab.com/stages-devops-lifecycle/deploy-targets/).
For some specific deployment targets, GitLab makes this process less painful by providing Docker images For some specific deployment targets, GitLab makes this process less painful by providing Docker images
that come with the needed libraries and tools pre-installed. that come with the needed libraries and tools pre-installed.
......
...@@ -225,7 +225,7 @@ In the upstream pipeline: ...@@ -225,7 +225,7 @@ In the upstream pipeline:
1. Save the variables in a `.env` file. 1. Save the variables in a `.env` file.
1. Save the `.env` file as a `dotenv` report. 1. Save the `.env` file as a `dotenv` report.
1. Trigger the downstream pipeline. 1. Trigger the downstream pipeline.
```yaml ```yaml
build_vars: build_vars:
......
...@@ -2610,7 +2610,7 @@ The `stop_review_app` job is **required** to have the following keywords defined ...@@ -2610,7 +2610,7 @@ The `stop_review_app` job is **required** to have the following keywords defined
- `environment:action` - `environment:action`
Additionally, both jobs should have matching [`rules`](../yaml/README.md#onlyexcept-basic) Additionally, both jobs should have matching [`rules`](../yaml/README.md#onlyexcept-basic)
or [`only/except`](../yaml/README.md#onlyexcept-basic) configuration. or [`only/except`](../yaml/README.md#onlyexcept-basic) configuration.
In the example above, if the configuration is not identical: In the example above, if the configuration is not identical:
...@@ -4403,7 +4403,7 @@ You can use the `$CI_COMMIT_REF_SLUG` variable to specify your [`cache:key`](#ca ...@@ -4403,7 +4403,7 @@ You can use the `$CI_COMMIT_REF_SLUG` variable to specify your [`cache:key`](#ca
For example, if your `$CI_COMMIT_REF_SLUG` is `test` you can set a job For example, if your `$CI_COMMIT_REF_SLUG` is `test` you can set a job
to download cache that's tagged with `test`. to download cache that's tagged with `test`.
If a cache with this tag is not found, you can use `CACHE_FALLBACK_KEY` to If a cache with this tag is not found, you can use `CACHE_FALLBACK_KEY` to
specify a cache to use when none exists. specify a cache to use when none exists.
For example: For example:
......
...@@ -22,7 +22,7 @@ with updates(obj_id, new_title, new_weight) as ( ...@@ -22,7 +22,7 @@ with updates(obj_id, new_title, new_weight) as (
values (1 :: integer, 'Very difficult issue' :: text, 8 :: integer), values (1 :: integer, 'Very difficult issue' :: text, 8 :: integer),
(2, 'Very easy issue', 1) (2, 'Very easy issue', 1)
) )
update issues update issues
set title = new_title, weight = new_weight set title = new_title, weight = new_weight
from updates from updates
where id = obj_id where id = obj_id
...@@ -88,7 +88,7 @@ objects = Foo.from_union([ ...@@ -88,7 +88,7 @@ objects = Foo.from_union([
# At this point, all the objects are instances of Foo, even the ones from the # At this point, all the objects are instances of Foo, even the ones from the
# Bar table # Bar table
mapping = objects.to_h { |obj| [obj, bazzes[obj.id] } mapping = objects.to_h { |obj| [obj, bazzes[obj.id] }
# Issues at most 2 queries # Issues at most 2 queries
::Gitlab::Database::BulkUpdate.execute(%i[baz], mapping) do |obj| ::Gitlab::Database::BulkUpdate.execute(%i[baz], mapping) do |obj|
obj.object_type.constantize obj.object_type.constantize
......
...@@ -10,13 +10,13 @@ Incidents are critical entities in incident management workflows. They represent ...@@ -10,13 +10,13 @@ Incidents are critical entities in incident management workflows. They represent
## Incident Creation ## Incident Creation
You can create an incident manually or automatically. You can create an incident manually or automatically.
### Create incidents manually ### Create incidents manually
If you have at least Guest [permissions](../../user/permissions.md), to create an Incident, you have two options to do this manually. If you have at least Guest [permissions](../../user/permissions.md), to create an Incident, you have two options to do this manually.
**From the Incidents List:** **From the Incidents List:**
> [Moved](https://gitlab.com/gitlab-org/monitor/health/-/issues/24) to GitLab core in 13.3. > [Moved](https://gitlab.com/gitlab-org/monitor/health/-/issues/24) to GitLab core in 13.3.
...@@ -56,7 +56,7 @@ With Maintainer or higher [permissions](../../user/permissions.md), you can enab ...@@ -56,7 +56,7 @@ With Maintainer or higher [permissions](../../user/permissions.md), you can enab
**Send a separate email notification to Developers**. Email notifications will also be sent to users with **Maintainer** and **Owner** permissions. **Send a separate email notification to Developers**. Email notifications will also be sent to users with **Maintainer** and **Owner** permissions.
1. Click **Save changes**. 1. Click **Save changes**.
### Create incidents via the PagerDuty webhook ### Create incidents via the PagerDuty webhook
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/119018) in GitLab 13.3. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/119018) in GitLab 13.3.
......
...@@ -11,7 +11,7 @@ type: howto ...@@ -11,7 +11,7 @@ type: howto
When [Require admin approval for new sign-ups](settings/sign_up_restrictions.md#require-admin-approval-for-new-sign-ups) is enabled, any user that signs up for an account using the registration form is placed under a **Pending approval** state. When [Require admin approval for new sign-ups](settings/sign_up_restrictions.md#require-admin-approval-for-new-sign-ups) is enabled, any user that signs up for an account using the registration form is placed under a **Pending approval** state.
A user pending approval is functionally identical to a [blocked](blocking_unblocking_users.md) user. A user pending approval is functionally identical to a [blocked](blocking_unblocking_users.md) user.
A user pending approval: A user pending approval:
......
...@@ -177,7 +177,7 @@ You can also consult the [group permissions table](../../permissions.md#group-me ...@@ -177,7 +177,7 @@ You can also consult the [group permissions table](../../permissions.md#group-me
Once you write your comment, you can either: Once you write your comment, you can either:
- Click **Comment** to publish your comment. - Click **Comment** to publish your comment.
- Click **Start thread** to start a thread within that epic's discussion. - Click **Start thread** to start a thread within that epic's discussion.
### Activity sort order ### Activity sort order
......
...@@ -136,7 +136,7 @@ Install a package from the Package Registry so you can use it as a dependency. ...@@ -136,7 +136,7 @@ Install a package from the Package Registry so you can use it as a dependency.
Prerequisites: Prerequisites:
- A package in the Package Registry. - A package in the Package Registry.
- The group ID, which is on the group's home page. - The group ID, which is on the group's home page.
- A [personal access token](../../../user/profile/personal_access_tokens.md) with the scope set to, at minimum, `read_api`. - A [personal access token](../../../user/profile/personal_access_tokens.md) with the scope set to, at minimum, `read_api`.
NOTE: **Note:** NOTE: **Note:**
...@@ -155,7 +155,7 @@ To install a package: ...@@ -155,7 +155,7 @@ To install a package:
- Set the required package version: - Set the required package version:
```shell ```shell
composer require <package_name>:<version> composer require <package_name>:<version>
``` ```
...@@ -223,7 +223,7 @@ To install a package: ...@@ -223,7 +223,7 @@ To install a package:
``` ```
Result in the `composer.json` file: Result in the `composer.json` file:
```json ```json
{ {
... ...
...@@ -240,7 +240,7 @@ To install a package: ...@@ -240,7 +240,7 @@ To install a package:
}, },
... ...
} }
``` ```
You can unset this with the command: You can unset this with the command:
......
...@@ -154,7 +154,7 @@ To add the GitLab NuGet Repository as a source for .NET, create a file named `nu ...@@ -154,7 +154,7 @@ To add the GitLab NuGet Repository as a source for .NET, create a file named `nu
When uploading packages, note that: When uploading packages, note that:
- The Package Registry on GitLab.com can store up to 500 MB of content. This limit is [configurable for self-managed GitLab instances](../../../administration/instance_limits.md#package-registry-limits). - The Package Registry on GitLab.com can store up to 500 MB of content. This limit is [configurable for self-managed GitLab instances](../../../administration/instance_limits.md#package-registry-limits).
- If you upload the same package with the same version multiple times, each consecutive upload - If you upload the same package with the same version multiple times, each consecutive upload
is saved as a separate file. When installing a package, GitLab serves the most recent file. is saved as a separate file. When installing a package, GitLab serves the most recent file.
- When uploading packages to GitLab, they are not displayed in the packages UI of your project - When uploading packages to GitLab, they are not displayed in the packages UI of your project
......
...@@ -98,7 +98,7 @@ If you delete a label, it is permanently deleted. All references to the label ar ...@@ -98,7 +98,7 @@ If you delete a label, it is permanently deleted. All references to the label ar
If you previously created a project label and now want to make it available for other If you previously created a project label and now want to make it available for other
projects within the same group, you can promote it to a group label. projects within the same group, you can promote it to a group label.
If other projects in the same group have a label with the same title, they are all If other projects in the same group have a label with the same title, they are all
merged with the new group label. If a group label with the same title exists, it is merged with the new group label. If a group label with the same title exists, it is
also merged. also merged.
...@@ -126,7 +126,7 @@ follow the same process as [creating a project label](#project-labels). ...@@ -126,7 +126,7 @@ follow the same process as [creating a project label](#project-labels).
#### Create group labels from epics **(ULTIMATE)** #### Create group labels from epics **(ULTIMATE)**
You can create group labels from the epic sidebar. The labels you create You can create group labels from the epic sidebar. The labels you create
belong to the immediate group to which the epic belongs. The process is the same as belong to the immediate group to which the epic belongs. The process is the same as
creating a [project label from an issue or merge request](#project-labels). creating a [project label from an issue or merge request](#project-labels).
...@@ -160,7 +160,7 @@ title, for example: ...@@ -160,7 +160,7 @@ title, for example:
![Scoped labels](img/labels_key_value_v13_5.png) ![Scoped labels](img/labels_key_value_v13_5.png)
An issue, merge request or epic cannot have two scoped labels, of the form `key::value`, An issue, merge request or epic cannot have two scoped labels, of the form `key::value`,
with the same `key`. Adding a new label with the same `key`, but a different `value` with the same `key`. Adding a new label with the same `key`, but a different `value`
causes the previous `key` label to be replaced with the new label. causes the previous `key` label to be replaced with the new label.
For example: For example:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment