Commit 882e00df authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'docs-fix-yaml-dev-docs' into 'master'

Update development docs yaml code blocks

See merge request gitlab-org/gitlab!41860
parents b4570697 d0974716
...@@ -23,7 +23,7 @@ For more information on the database review process, check the [database review ...@@ -23,7 +23,7 @@ For more information on the database review process, check the [database review
Team members are encouraged to self-identify as database domain experts and add it to their [team profile](https://gitlab.com/gitlab-com/www-gitlab-com/-/blob/master/data/team.yml) Team members are encouraged to self-identify as database domain experts and add it to their [team profile](https://gitlab.com/gitlab-com/www-gitlab-com/-/blob/master/data/team.yml)
```yaml ```yaml
projects: projects:
gitlab: gitlab:
- reviewer database - reviewer database
``` ```
...@@ -70,7 +70,7 @@ they can update their [team profile](https://gitlab.com/gitlab-com/www-gitlab-co ...@@ -70,7 +70,7 @@ they can update their [team profile](https://gitlab.com/gitlab-com/www-gitlab-co
to a `trainee_maintainer database`: to a `trainee_maintainer database`:
```yaml ```yaml
projects: projects:
gitlab: gitlab:
- trainee_maintainer database - trainee_maintainer database
``` ```
......
...@@ -2155,7 +2155,7 @@ We store our Table of Contents in the `default-nav.yaml` file, in the ...@@ -2155,7 +2155,7 @@ We store our Table of Contents in the `default-nav.yaml` file, in the
following line: following line:
```yaml ```yaml
- category_title: GraphQL - category_title: GraphQL
``` ```
Be aware that CI tests for that second MR will fail with a bad link until the Be aware that CI tests for that second MR will fail with a bad link until the
......
...@@ -147,7 +147,7 @@ request must also include the SHA256 sum of the file. An example JWT ...@@ -147,7 +147,7 @@ request must also include the SHA256 sum of the file. An example JWT
payload looks like: payload looks like:
```yaml ```yaml
{ "data": { sha256: "31806bb23580caab78040f8c45d329f5016b0115" }, iat: "1234567890" } {"data": {sha256: "31806bb23580caab78040f8c45d329f5016b0115"}, iat: "1234567890"}
``` ```
If the requested file matches the requested SHA256 sum, then the Geo If the requested file matches the requested SHA256 sum, then the Geo
......
...@@ -244,7 +244,7 @@ project_tree: ...@@ -244,7 +244,7 @@ project_tree:
- :push_event_payload - :push_event_payload
- issues: - issues:
- events: - events:
- ... # ...
``` ```
Only include the following attributes for the models specified: Only include the following attributes for the models specified:
...@@ -254,8 +254,7 @@ included_attributes: ...@@ -254,8 +254,7 @@ included_attributes:
user: user:
- :id - :id
- :email - :email
... # ...
``` ```
Do not include the following attributes for the models specified: Do not include the following attributes for the models specified:
......
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