Commit 449d0055 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'add-breaking-changes-ui' into 'master'

Add breaking change warning to Docs UI

See merge request gitlab-org/gitlab!77999
parents a373a23f ab6cb3a7
......@@ -40,10 +40,17 @@ For deprecation reviewers (Technical Writers only):
## <%= milestone %>
<%- entries.select{|d| d["announcement_milestone"] == milestone}.each do |deprecation| %>
### <%= deprecation["name"]%>
<% if deprecation["breaking_change"] -%>
<%= deprecation["body"] -%>
WARNING:
This feature will be changed or removed in <%= deprecation["removal_milestone"]%>
as a [breaking change](https://docs.gitlab.com/ee/development/contributing/#breaking-changes).
Before updating GitLab, review the details carefully to determine if you need to make any
changes to your code, settings, or workflow.
Planned removal milestone: <%= deprecation["removal_milestone"]%> (<%= deprecation["removal_date"]%>)
<%= deprecation["body"] -%><% else %>
<%= deprecation["body"] -%><% end %>
**Planned removal milestone: <%= deprecation["removal_milestone"]%> (<%= deprecation["removal_date"]%>)**
<%- end -%>
<%- end -%>
<%- else -%>
......
......@@ -6,14 +6,6 @@ info: "See the Technical Writers assigned to Development Guidelines: https://abo
# Removals by milestone
DISCLAIMER:
This page contains information related to upcoming products, features, and functionality.
It is important to note that the information presented is for informational purposes only.
Please do not rely on this information for purchasing or planning purposes.
As with all projects, the items mentioned on this page are subject to change or delay.
The development, release, and timing of any products, features, or functionality remain at the
sole discretion of GitLab Inc.
<!-- vale off -->
<!--
......@@ -40,11 +32,15 @@ For removal reviewers (Technical Writers only):
## <%= milestone %>
<%- entries.select{|entry| entry["removal_milestone"] == milestone}.each do |removal| %>
### <%= removal["name"]%>
<%= removal["body"] -%>
<%- end -%>
<%- end -%>
<% if removal["breaking_change"] -%>
WARNING:
This feature was changed or removed in <%= removal["removal_milestone"]%>
as a [breaking change](https://docs.gitlab.com/ee/development/contributing/#breaking-changes).
Before updating GitLab, review the details carefully to determine if you need to make any
changes to your code, settings, or workflow.
<%= removal["body"] -%><% else %>
<%= removal["body"] -%><% end %><%- end -%><%- end -%>
<%- else -%>
Features scheduled for removal will be listed here, sorted by GitLab milestone.
<% end -%>
This diff is collapsed.
......@@ -6,14 +6,6 @@ info: "See the Technical Writers assigned to Development Guidelines: https://abo
# Removals by milestone
DISCLAIMER:
This page contains information related to upcoming products, features, and functionality.
It is important to note that the information presented is for informational purposes only.
Please do not rely on this information for purchasing or planning purposes.
As with all projects, the items mentioned on this page are subject to change or delay.
The development, release, and timing of any products, features, or functionality remain at the
sole discretion of GitLab Inc.
<!-- vale off -->
<!--
......
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