summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-04-22 10:03:32 +0200
committerAchilleas Pipinellis <axil@gitlab.com>2019-04-22 10:03:32 +0200
commit5a050f2968fdc471bda0111e2a8c25f175a52cdf (patch)
tree9daac3cebe9aa6b63df93496d9ca7c29bc64d0e5
parent98f898d3cdcc79daad91c538551760295c0123e4 (diff)
downloadgitlab-ce-docs/com-only-badges.tar.gz
Document how to use GitLab.com only badgesdocs/com-only-badges
Functionality added in https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/449
-rw-r--r--doc/development/documentation/styleguide.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/development/documentation/styleguide.md b/doc/development/documentation/styleguide.md
index e36ad01d4f8..2200286ce17 100644
--- a/doc/development/documentation/styleguide.md
+++ b/doc/development/documentation/styleguide.md
@@ -651,6 +651,12 @@ keyword "only":
- For GitLab Premium: `**[PREMIUM ONLY]**`.
- For GitLab Ultimate: `**[ULTIMATE ONLY]**`.
+For GitLab.com only tiers (when the feature is not available for self-hosted instances):
+
+- For GitLab Bronze: `**[BRONZE ONLY]**`.
+- For GitLab Silver: `**[SILVER ONLY]**`.
+- For GitLab Gold: `**[GOLD ONLY]**`.
+
The tier should be ideally added to headers, so that the full badge will be displayed.
However, it can be also mentioned from paragraphs, list items, and table cells. For these cases,
the tier mention will be represented by an orange question mark that will show the tiers on hover.
@@ -659,6 +665,7 @@ For example:
- `**[STARTER]**` renders as **[STARTER]**
- `**[STARTER ONLY]**` renders as **[STARTER ONLY]**
+- `**[SILVER ONLY]**` renders as **[SILVER ONLY]**
The absence of tiers' mentions mean that the feature is available in GitLab Core,
GitLab.com Free, and all higher tiers.