From 1f00c74b900c5d8ed34fec8d0a1e07b4585004c9 Mon Sep 17 00:00:00 2001 From: Marcia Ramos Date: Fri, 19 May 2017 15:43:10 -0300 Subject: adds "comments on snippets" to doc --- doc/user/img/gitlab_snippet.png | Bin 0 -> 34355 bytes doc/user/snippets.md | 10 ++++++++++ 2 files changed, 10 insertions(+) create mode 100644 doc/user/img/gitlab_snippet.png diff --git a/doc/user/img/gitlab_snippet.png b/doc/user/img/gitlab_snippet.png new file mode 100644 index 00000000000..718347fc2d4 Binary files /dev/null and b/doc/user/img/gitlab_snippet.png 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. -- cgit v1.2.1