diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-09-02 08:55:54 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-09-02 08:55:54 +0200 |
commit | 3ef2c38b63031984c2a284a983bce805c5a0181a (patch) | |
tree | 43c27271980b52bec42926ee1ed5391118065f3a | |
parent | 1c4e866348e0c782d2e5374209508785ac812c7a (diff) | |
download | gitlab-ce-3ef2c38b63031984c2a284a983bce805c5a0181a.tar.gz |
Change the inline code to codeblocks for the new features doc guideline
[ci skip]
-rw-r--r-- | doc/development/doc_styleguide.md | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/doc/development/doc_styleguide.md b/doc/development/doc_styleguide.md index 37bb59e112c..39b801f761d 100644 --- a/doc/development/doc_styleguide.md +++ b/doc/development/doc_styleguide.md @@ -155,15 +155,30 @@ Inside the document: - 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 - note: `> Introduced in GitLab 8.3.`. + note: + + ``` + > Introduced in GitLab 8.3. + ``` + - If possible every feature should have a link to the MR that introduced it. The above note would be then transformed to: - `> [Introduced][ce-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 in GitLab EE, don't forget to mention it, like: - `> Introduced in GitLab EE 8.3.`. Otherwise, leave - this mention out. + + ``` + > [Introduced][ce-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 in GitLab Enterprise Edition, don't forget to mention + it, like: + + ``` + > Introduced in GitLab Enterprise Edition 8.3. + ``` + + Otherwise, leave this mention out. ## References |