Commit b6827e46 authored by Marcia Ramos's avatar Marcia Ramos

update badges guidelines

parent f9fcf2ea
...@@ -162,35 +162,33 @@ below. ...@@ -162,35 +162,33 @@ below.
When a feature is available in EE-only tiers, add the corresponding tier according to the When a feature is available in EE-only tiers, add the corresponding tier according to the
feature availability: feature availability:
- For GitLab Starter and GitLab.com Bronze: `** [STARTER] **` - For GitLab Starter and GitLab.com Bronze: `**[STARTER]**`
- For GitLab Premium and GitLab.com Silver: `** [PREMIUM] **` - For GitLab Premium and GitLab.com Silver: `**[PREMIUM]**`
- For GitLab Ultimate and GitLab.com Gold: `** [ULTIMATE] **` - For GitLab Ultimate and GitLab.com Gold: `**[ULTIMATE]**`
- For GitLab Core and GitLab.com Free: `** [CORE] **` - For GitLab Core and GitLab.com Free: `**[CORE]**`
To exclude GitLab.com tiers (when the feature is not available in GitLab.com), add the To exclude GitLab.com tiers (when the feature is not available in GitLab.com), add the
keyword "only": keyword "only":
- For GitLab Starter: `** [STARTER ONLY] **` - For GitLab Starter: `**[STARTER ONLY]**`
- For GitLab Premium: `** [PREMIUM ONLY] **` - For GitLab Premium: `**[PREMIUM ONLY]**`
- For GitLab Ultimate: `** [ULTIMATE ONLY] **` - For GitLab Ultimate: `**[ULTIMATE ONLY]**`
- For GitLab Core: `** [CORE ONLY] **` - For GitLab Core: `**[CORE ONLY]**`
The tier should be ideally added to headers, so that the full badge will be displayed. The tier should be ideally added to headers, so that the full badge will be displayed.
But it can be also mentioned from paragraphs, list items, and table cells. For these cases, But 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. the tier mention will be represented by an orange question mark.
E.g. `** [STARTER] **` renders **[STARTER]**. E.g., `**[STARTER]**` renders **[STARTER]**, `**[STARTER ONLY]**` renders **[STARTER ONLY]**.
The absence of tiers' mentions mean that the feature is available in GitLab Core, The absence of tiers' mentions mean that the feature is available in GitLab Core,
GitLab.com Free, and higher tiers. GitLab.com Free, and higher tiers.
Note that spaces between `*` and `[]` were added for escaping the special markup.
#### How it works #### How it works
Introduced by [!244](https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/244), Introduced by [!244](https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/244),
the special markup `** [STARTER] **` will generate a `span` element to trigger the the special markup `**[STARTER]**` will generate a `span` element to trigger the
badges and tooltips (`**[STARTER]**`). When the keyword "only" is added, the badges and tooltips (`<span class="badge-trigger starter">`). When the keyword
corresponding GitLab.com badge will not be displayed. "only" is added, the corresponding GitLab.com badge will not be displayed.
### GitLab Restart ### GitLab Restart
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment