diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-12 10:53:46 +0900 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2019-07-12 10:53:46 +0900 |
commit | 6d09c2a8c7ac0b38eb8acf09f09be2330849a456 (patch) | |
tree | a77f08554916ece676e81d45eb5df44a46d3ea68 /doc/api | |
parent | 2dcdc148c845d47743e4af728fbcb791f34649e8 (diff) | |
download | gitlab-ce-docs-blank-lines.tar.gz |
Remove extra blank lines from docsdocs-blank-lines
Removing extra blank lines in docs that serve
no purpose, as well as some --- lines that also
are not needed.
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/README.md | 4 | ||||
-rw-r--r-- | doc/api/issues.md | 1 | ||||
-rw-r--r-- | doc/api/system_hooks.md | 8 |
3 files changed, 1 insertions, 12 deletions
diff --git a/doc/api/README.md b/doc/api/README.md index b2bb55f2fcf..9d90677e2bb 100644 --- a/doc/api/README.md +++ b/doc/api/README.md @@ -321,8 +321,6 @@ By default, impersonation is enabled. To disable impersonation: To re-enable impersonation, remove this configuration and reconfigure GitLab. ---- - **For installations from source** 1. Edit `config/gitlab.yml`: @@ -381,8 +379,6 @@ returned with status code `404`: } ``` ---- - Example of a valid API call and a request using cURL with sudo request, providing a username: diff --git a/doc/api/issues.md b/doc/api/issues.md index 23126a05b66..96a547551f1 100644 --- a/doc/api/issues.md +++ b/doc/api/issues.md @@ -357,7 +357,6 @@ GET /projects/:id/issues?confidential=true | `updated_before` | datetime | no | Return issues updated on or before the given time | | `confidential` | Boolean | no | Filter confidential or public issues. | - ```bash curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/4/issues ``` diff --git a/doc/api/system_hooks.md b/doc/api/system_hooks.md index f8563e819db..1b8c23b8e2d 100644 --- a/doc/api/system_hooks.md +++ b/doc/api/system_hooks.md @@ -11,8 +11,6 @@ Read more about [system hooks](../system_hooks/system_hooks.md). Get a list of all system hooks. ---- - ``` GET /hooks ``` @@ -44,8 +42,6 @@ Example response: Add a new system hook. ---- - ``` POST /hooks ``` @@ -116,8 +112,6 @@ Example response: Deletes a system hook. ---- - ``` DELETE /hooks/:id ``` @@ -130,4 +124,4 @@ Example request: ```bash curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/hooks/2 -```
\ No newline at end of file +``` |