diff options
author | Evan Read <eread@gitlab.com> | 2019-02-15 09:39:23 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-02-15 09:39:23 +0000 |
commit | fb6e59ebe34f4c51c212ce0587a9a48066081fd7 (patch) | |
tree | 7cc3516bd063f52535a9d019b3cd3c900a1141cb /doc/api/templates | |
parent | 2a5de7e0eea45f55aa3dbff789a553eb560375b4 (diff) | |
download | gitlab-ce-fb6e59ebe34f4c51c212ce0587a9a48066081fd7.tar.gz |
Refactor of API landing page
- Breaks up into more sections.
- Also minor fixes to pages within sections.
Diffstat (limited to 'doc/api/templates')
-rw-r--r-- | doc/api/templates/gitignores.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/templates/gitignores.md b/doc/api/templates/gitignores.md index 3804855129c..bf6a914e120 100644 --- a/doc/api/templates/gitignores.md +++ b/doc/api/templates/gitignores.md @@ -1,8 +1,8 @@ -# Gitignores API +# `.gitignore` API -## List gitignore templates +## List `.gitignore` templates -Get all gitignore templates. +Get all `.gitignore` templates. ``` GET /templates/gitignores @@ -99,9 +99,9 @@ Example response: ] ``` -## Single gitignore template +## Single `.gitignore` template -Get a single gitignore template. +Get a single `.gitignore` template. ``` GET /templates/gitignores/:key @@ -109,7 +109,7 @@ GET /templates/gitignores/:key | Attribute | Type | Required | Description | | ---------- | ------ | -------- | ----------- | -| `key` | string | yes | The key of the gitignore template | +| `key` | string | yes | The key of the `.gitignore` template | ```bash curl https://gitlab.example.com/api/v4/templates/gitignores/Ruby |