summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Packham (GitLab) <sean@seanpackham.com>2017-05-20 11:10:41 +0000
committerClement Ho <ClemMakesApps@gmail.com>2017-05-22 16:34:33 -0500
commitaf4e5ddc166bbbe5961f7da2ef668acca2bb61e5 (patch)
tree48f54cb9e5d6b2bd1f9399c9c9bfa9ae4e5b5179
parent7727f193a16b1b272a75b466bb20e80c0797c552 (diff)
downloadgitlab-ce-af4e5ddc166bbbe5961f7da2ef668acca2bb61e5.tar.gz
Merge branch 'docs/add-comment-snippets' into 'master'
Adds "comments on snippets" to doc Closes #32575 See merge request !11563
-rw-r--r--doc/user/img/gitlab_snippet.pngbin0 -> 34355 bytes
-rw-r--r--doc/user/snippets.md10
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/user/img/gitlab_snippet.png b/doc/user/img/gitlab_snippet.png
new file mode 100644
index 00000000000..718347fc2d4
--- /dev/null
+++ b/doc/user/img/gitlab_snippet.png
Binary files differ
diff --git a/doc/user/snippets.md b/doc/user/snippets.md
index 417360e08ac..78861625f8a 100644
--- a/doc/user/snippets.md
+++ b/doc/user/snippets.md
@@ -2,8 +2,18 @@
Snippets are little bits of code or text.
+![GitLab Snippet](img/gitlab_snippet.png)
+
There are 2 types of snippets - project snippets and personal snippets.
+## Comments
+
+With GitLab Snippets you engage in a conversation about that piece of code,
+facilitating the collaboration among users.
+
+> **Note:**
+Comments on snippets was [introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/12910) in [GitLab Community Edition 9.2](https://about.gitlab.com/2017/05/22/gitlab-9-2-released/#comments-for-personal-snippets).
+
## Project snippets
Project snippets are always related to a specific project - see [Project features](../workflow/project_features.md) for more information.