Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
d8cd3f4b
Commit
d8cd3f4b
authored
Apr 17, 2018
by
Marcia Ramos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update badges guidelines
parent
dc22d13a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
14 deletions
+12
-14
doc/development/doc_styleguide.md
doc/development/doc_styleguide.md
+12
-14
No files found.
doc/development/doc_styleguide.md
View file @
d8cd3f4b
...
...
@@ -162,35 +162,33 @@ below.
When a feature is available in EE-only tiers, add the corresponding tier according to the
feature availability:
-
For GitLab Starter and GitLab.com Bronze:
`**
[STARTER]
**`
-
For GitLab Premium and GitLab.com Silver:
`**
[PREMIUM]
**`
-
For GitLab Ultimate and GitLab.com Gold:
`**
[ULTIMATE]
**`
-
For GitLab Core and GitLab.com Free:
`**
[CORE]
**`
-
For GitLab Starter and GitLab.com Bronze:
`**
[STARTER]
**`
-
For GitLab Premium and GitLab.com Silver:
`**
[PREMIUM]
**`
-
For GitLab Ultimate and GitLab.com Gold:
`**
[ULTIMATE]
**`
-
For GitLab Core and GitLab.com Free:
`**
[CORE]
**`
To exclude GitLab.com tiers (when the feature is not available in GitLab.com), add the
keyword "only":
-
For GitLab Starter:
`**
[STARTER ONLY]
**`
-
For GitLab Premium:
`**
[PREMIUM ONLY]
**`
-
For GitLab Ultimate:
`**
[ULTIMATE ONLY]
**`
-
For GitLab Core:
`**
[CORE ONLY]
**`
-
For GitLab Starter:
`**
[STARTER ONLY]
**`
-
For GitLab Premium:
`**
[PREMIUM ONLY]
**`
-
For GitLab Ultimate:
`**
[ULTIMATE ONLY]
**`
-
For GitLab Core:
`**
[CORE ONLY]
**`
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,
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,
GitLab.com Free, and higher tiers.
Note that spaces between
`*`
and
`[]`
were added for escaping the special markup.
#### How it works
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
badges and tooltips (
`
**[STARTER]**`
). When the keyword "only" is added, the
corresponding GitLab.com badge will not be displayed.
the special markup
`**
[STARTER]
**`
will generate a
`span`
element to trigger the
badges and tooltips (
`
<span class="badge-trigger starter">`
). When the keyword
"only" is added, the
corresponding GitLab.com badge will not be displayed.
### GitLab Restart
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment