Commit fe7c6bc6 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'docs/styleguide-versions' into 'master'

Prefer using direct links in docs styleguide

See merge request gitlab-org/gitlab-ce!20832
parents 9aa07a7e 9982ff3f
...@@ -219,28 +219,26 @@ below. ...@@ -219,28 +219,26 @@ below.
- Every piece of documentation that comes with a new feature should declare the - Every piece of documentation that comes with a new feature should declare the
GitLab version that feature got introduced. Right below the heading add a GitLab version that feature got introduced. Right below the heading add a
note: blockquote:
```md ```md
> Introduced in GitLab 8.3. > Introduced in GitLab 8.3.
``` ```
- Whenever possible, every feature should have a link to the MR, issue, or epic that introduced it. - Whenever possible, every feature should have a link to the issue, MR or epic
The above note would be then transformed to: (in that order) that introduced it. The above quote would be then transformed to:
```md ```md
> [Introduced][ce-1242] in GitLab 8.3. > [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/1242) in GitLab 8.3.
``` ```
, where the [link identifier](#links) is named after the repository (CE) and
the MR number.
- If the feature is only available in GitLab Enterprise Edition, don't forget to mention - If the feature is only available in GitLab Enterprise Edition, don't forget to mention
the [paid tier](https://about.gitlab.com/handbook/marketing/product-marketing/#tiers) the [paid tier](https://about.gitlab.com/handbook/marketing/product-marketing/#tiers)
the feature is available in: the feature is available in:
```md ```md
> [Introduced][ee-1234] in [GitLab Starter](https://about.gitlab.com/pricing/) 8.3. > [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/1242)
in [GitLab Starter](https://about.gitlab.com/pricing/) 8.3.
``` ```
### Product badges ### Product badges
......
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