From 5a050f2968fdc471bda0111e2a8c25f175a52cdf Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Mon, 22 Apr 2019 10:03:32 +0200 Subject: Document how to use GitLab.com only badges Functionality added in https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/449 --- doc/development/documentation/styleguide.md | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- cgit v1.2.1