Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2121,6 +2121,44 @@ dt.d_decl:hover .decl_anchor {
background-color: #4EBA0F;
}

.message-box-red-border {
border: #D60027 solid 3px;
}
.message-box-red-border, .message-box-red-border a {
color: black;
}

/**
Deprecation box
*/

.deprecation-box {
display: flex;
flex-direction: row;
align-items: center;
}

.deprecation-title {
font-size: 1.15em;
}

.deprecation-message {
margin-left: 1.2em;
}

@media only screen and (max-width:40em)
{
.deprecation-box {
flex-direction: column;
}
.deprecation-title {
margin-bottom: 0.5em;
}
.deprecation-message {
margin-left: 0px;
}
}

/**
Custom modifications to the navigation menu
- Insert an Internal API divider before the dmd menu item
Expand Down
4 changes: 4 additions & 0 deletions deprecate.dd
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ $(SPEC_S Deprecated Features,
order to allow plenty of time for users to adjust to the change.
)

$(DEPRECATED 2.088, reverseBinaryArgs,
Use $(REF reverseArgs, std,functional) instead.
)

$(TABLE2 Deprecated Features,
$(THEAD Feature, Spec, Dep, Error, Gone)
$(TROW $(DEPLINK Hexstring literals), 2.079, 2.079,  ,  )
Expand Down
4 changes: 4 additions & 0 deletions dlang.org.ddoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ COMPATIBILITY_BOX_SUPERSEDED = $(MESSAGE_BOX gray, $(B Obsolete) - $0)
COMPATIBILITY_BOX_OBSOLETE = $(MESSAGE_BOX gray, $(B Obsolete) - $0)
COMPATIBILITY_BOX_OUTDATED = $(MESSAGE_BOX gray, $(B Obsolete) - $0)
COMPATIBILITY_BOX_EXPERIMENTAL = $(MESSAGE_BOX orange, $(B Experimental) - $0)
SKIPFIRST=$+
DEPRECATED = $(MESSAGE_BOX red-border, $(DIVC deprecation-box, $(DIVC deprecation-title, $(B Deprecated))
$(DIVC deprecation-message, $(D $2) has been deprecated and will be removed in $1.$(BR)
$(SKIPFIRST $+))))
_=

CONSOLE=$(TC pre, console notranslate, $0)
Expand Down