summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author🙈 jacopo beschi 🙉 <intrip@gmail.com>2019-09-10 17:42:03 +0000
committerMarcia Ramos <marcia@gitlab.com>2019-09-10 17:42:03 +0000
commit522a37828dbc201279db73e92473ac121b0f52b6 (patch)
tree57e2d80aedbb1e87ec13d8f1fe163af5b2bfbb8e
parent4bcde77f66d94696b204b141ad5a38bf127a5215 (diff)
downloadgitlab-ce-522a37828dbc201279db73e92473ac121b0f52b6.tar.gz
Resolve "Documentation lacks how to enable Project snippets"
-rw-r--r--changelogs/unreleased/64122-documentation-lacks-how-to-enable-project-snippets.yml5
-rw-r--r--doc/user/project/settings/index.md2
-rw-r--r--doc/user/snippets.md5
3 files changed, 12 insertions, 0 deletions
diff --git a/changelogs/unreleased/64122-documentation-lacks-how-to-enable-project-snippets.yml b/changelogs/unreleased/64122-documentation-lacks-how-to-enable-project-snippets.yml
new file mode 100644
index 00000000000..a1f99833ce0
--- /dev/null
+++ b/changelogs/unreleased/64122-documentation-lacks-how-to-enable-project-snippets.yml
@@ -0,0 +1,5 @@
+---
+title: Mention in docs how to disable project snippets
+merge_request: 32391
+author: Jacopo Beschi @jacopo-beschi
+type: other
diff --git a/doc/user/project/settings/index.md b/doc/user/project/settings/index.md
index 58ccd8bf2ae..e0fb5c57784 100644
--- a/doc/user/project/settings/index.md
+++ b/doc/user/project/settings/index.md
@@ -32,6 +32,8 @@ links will be missing from the sidebar UI.
You can still access them with direct links if you can access Merge Requests. This is deliberate, if you can see
Issues or Merge Requests, both of which use Labels and Milestones, then you shouldn't be denied access to Labels and Milestones pages.
+Project [Snippets](../../snippets.md) are enabled by default.
+
#### Disabling email notifications
You can disable all email notifications related to the project by selecting the
diff --git a/doc/user/snippets.md b/doc/user/snippets.md
index 7b580a057f2..74f58a1a92b 100644
--- a/doc/user/snippets.md
+++ b/doc/user/snippets.md
@@ -33,6 +33,11 @@ overview that shows snippets you created and allows you to explore all snippets.
If you want to discover snippets that belong to a specific project, you can navigate
to the Snippets page via the left side navigation on the project page.
+Project snippets are enabled and available by default, but they can
+be disabled by navigating to your project's **Settings**, expanding
+**Visibility, project features, permissions** and scrolling down to
+**Snippets**. From there, you can toggle to disable them or select a
+different visibility level from the dropdown menu.
## Snippet comments