From ee66d1a1afb939c0cba8c2257b8300921831c716 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 8 Oct 2016 10:05:34 +0100 Subject: [PATCH] Add a documentation macro for marking version numbers By signalling features that are new in 5.1.14 we can include documentation updates for the new version when we build updates to 5.1.13 --- editions/tw5.com/tiddlers/system/doc-styles.tid | 8 ++++++++ editions/tw5.com/tiddlers/system/version-macros.tid | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 editions/tw5.com/tiddlers/system/version-macros.tid diff --git a/editions/tw5.com/tiddlers/system/doc-styles.tid b/editions/tw5.com/tiddlers/system/doc-styles.tid index 4fb5fe007..4d85a378a 100644 --- a/editions/tw5.com/tiddlers/system/doc-styles.tid +++ b/editions/tw5.com/tiddlers/system/doc-styles.tid @@ -161,3 +161,11 @@ tr.doc-table-subheading { .doc-block-icon .tc-image-warning { fill: <>; } + +.doc-from-version { + display: inline-block; + border: 2px solid <>; + border-radius: 0.5em; + background: <>; + padding: 0 0.4em; +} diff --git a/editions/tw5.com/tiddlers/system/version-macros.tid b/editions/tw5.com/tiddlers/system/version-macros.tid new file mode 100644 index 000000000..cc328887e --- /dev/null +++ b/editions/tw5.com/tiddlers/system/version-macros.tid @@ -0,0 +1,8 @@ +created: 20161008085627406 +modified: 20161008085627406 +title: $:/editions/tw5.com/version-macros +tags: $:/tags/Macro + +\define .from-version(version) +New in $version$ +\end