From af4e5ddc166bbbe5961f7da2ef668acca2bb61e5 Mon Sep 17 00:00:00 2001 From: "Sean Packham (GitLab)" Date: Sat, 20 May 2017 11:10:41 +0000 Subject: Merge branch 'docs/add-comment-snippets' into 'master' Adds "comments on snippets" to doc Closes #32575 See merge request !11563 --- 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