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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
ab6cb3a7
Commit
ab6cb3a7
authored
Jan 18, 2022
by
Brian Rhea
Committed by
Marcel Amirault
Jan 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add breaking change warning to Docs UI
parent
a373a23f
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
257 additions
and
70 deletions
+257
-70
data/deprecations/templates/_deprecation_template.md.erb
data/deprecations/templates/_deprecation_template.md.erb
+9
-2
data/removals/templates/_removal_template.md.erb
data/removals/templates/_removal_template.md.erb
+9
-13
doc/update/deprecations.md
doc/update/deprecations.md
+239
-47
doc/update/removals.md
doc/update/removals.md
+0
-8
No files found.
data/deprecations/templates/_deprecation_template.md.erb
View file @
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
-%>
...
...
data/removals/templates/_removal_template.md.erb
View file @
ab6cb3a7
...
...
@@ -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
-%>
doc/update/deprecations.md
View file @
ab6cb3a7
This diff is collapsed.
Click to expand it.
doc/update/removals.md
View file @
ab6cb3a7
...
...
@@ -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 -->
<!--
...
...
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