From 21600cc7edb6177f039211b8df33710c094c73d6 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Mon, 22 Apr 2019 12:11:50 +0000 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 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/development/documentation') diff --git a/doc/development/documentation/styleguide.md b/doc/development/documentation/styleguide.md index e36ad01d4f8..ffb89848edb 100644 --- a/doc/development/documentation/styleguide.md +++ b/doc/development/documentation/styleguide.md @@ -651,6 +651,11 @@ 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 and higher tiers: `**[BRONZE ONLY]**`. +- For GitLab Silver and higher tiers: `**[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 +664,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