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
print-window-tiddler
Jermolene 2016-10-08 10:05:34 +01:00
rodzic e4f3d56bdc
commit ee66d1a1af
2 zmienionych plików z 16 dodań i 0 usunięć

Wyświetl plik

@ -161,3 +161,11 @@ tr.doc-table-subheading {
.doc-block-icon .tc-image-warning {
fill: <<colour alert-highlight>>;
}
.doc-from-version {
display: inline-block;
border: 2px solid <<colour alert-border>>;
border-radius: 0.5em;
background: <<colour alert-background>>;
padding: 0 0.4em;
}

Wyświetl plik

@ -0,0 +1,8 @@
created: 20161008085627406
modified: 20161008085627406
title: $:/editions/tw5.com/version-macros
tags: $:/tags/Macro
\define .from-version(version)
<span class="doc-from-version">New in $version$</span>
\end