File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1271,6 +1271,12 @@ pre table {
1271
1271
border-collapse : collapse ;
1272
1272
}
1273
1273
1274
+ .replaced-by {
1275
+ display : inline ;
1276
+ p {
1277
+ display : inline ;
1278
+ }
1279
+ }
1274
1280
.command-group {
1275
1281
margin-bottom : 2rem ;
1276
1282
Original file line number Diff line number Diff line change 151
151
{% else %}
152
152
< code > ERROR. Command description not loaded</ code > < br />
153
153
{% endif %}
154
+ {% if command_data_obj.replaced_by %}
155
+ < h3 > Deprecation advice</ h3 >
156
+ Instead of using < code > {{ command_title }}</ code > use < div class ="replaced-by "> {{ command_data_obj.replaced_by | markdown | safe }}</ div >
154
157
158
+ {% endif %}
155
159
{% set_global resp2_replies = load_data(path="../_data/resp2_replies.json", required=false) -%}
156
160
{% set_global resp3_replies = load_data(path="../_data/resp3_replies.json", required=false) -%}
157
161
{% if resp2_replies and resp3_replies -%}
You can’t perform that action at this time.
0 commit comments