diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-15 04:04:35 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-07-15 04:04:35 +0300 |
commit | 4121c636763e4bcbca7622e9f0e341d5e0e5a3e1 (patch) | |
tree | 1866b3f0165503b02ef3bc3cfc2d8cee7c8d5335 /doc/api | |
parent | e8fd34b1a457c538fe568ea9eec4fae4d0f3c869 (diff) |
Remove extra blank lines from docs
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 +``` |