Skip to content
代码片段 群组 项目
提交 6c2c9912 编辑于 作者: Mike Jang's avatar Mike Jang 提交者: Mike Lewis
浏览文件

Add deprecation language

上级 496b8167
No related branches found
No related tags found
无相关合并请求
...@@ -1336,6 +1336,22 @@ a helpful link back to how the feature was developed. ...@@ -1336,6 +1336,22 @@ a helpful link back to how the feature was developed.
> - [Moved](<link-to-issue>) to GitLab Core in 12.0. > - [Moved](<link-to-issue>) to GitLab Core in 12.0.
``` ```
- If a feature is deprecated, include a link to a replacement (when available):
```markdown
> - [Deprecated](<link-to-issue>) in GitLab 11.3. Replaced by [meaningful text](<link-to-appropriate-documentation>).
```
It's also acceptable to describe the replacement in surrounding text, if available.
If the deprecation is not obvious in existing text, you may want to include a warning such as:
```markdown
CAUTION: **Warning:**
This feature was [deprecated](link-to-issue) in GitLab 12.3
and replaced by [Feature name](link-to-feature-documentation).
```
NOTE: **Note:** NOTE: **Note:**
Version text must be on its own line and surrounded by blank lines to render correctly. Version text must be on its own line and surrounded by blank lines to render correctly.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册