Docs: Improve deprecation documentation

This commit is contained in:
jeremy@jermolene.com
2022-07-04 17:42:58 +01:00
parent 4185d9a26c
commit 20df381cf3
4 changed files with 10 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
created: 20161008085627406
modified: 201804111739
modified: 20220704174221300
tags: $:/tags/Macro
title: $:/editions/tw5.com/version-macros
type: text/vnd.tiddlywiki
@@ -9,7 +9,7 @@ type: text/vnd.tiddlywiki
\end
\define .deprecated-since(version, superseded:"TODO-Link")
<$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Deprecated since: <$text text=<<__version__>>/></$link>. Use <$link to=<<__superseded__>>><$text text=<<__version__>>/></$link> instead
<$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Deprecated since: <$text text=<<__version__>>/></$link>. Use <$link to=<<__superseded__>>><$text text=<<__superseded__>>/></$link> instead
\end
<pre><$view field="text"/></pre>