From f957874d18d701a76d65a2fa2525bd0c8a0625e0 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Thu, 14 Jul 2022 13:49:23 +0100 Subject: [PATCH] Docs: Improve styling of GitHub contributors listing --- .../tiddlers/releasenotes/Release 5.1.23.tid | 66 ++++++++--------- .../tiddlers/releasenotes/Release 5.2.0.tid | 74 +++++++++---------- .../tiddlers/releasenotes/Release 5.2.1.tid | 34 ++++----- .../tiddlers/releasenotes/Release 5.2.2.tid | 54 +++++++------- .../tw5.com/tiddlers/system/doc-macros.tid | 12 ++- .../tw5.com/tiddlers/system/doc-styles.tid | 16 ++++ 6 files changed, 137 insertions(+), 119 deletions(-) diff --git a/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid b/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid index 441f5b20c..8427d97ab 100644 --- a/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +++ b/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid @@ -6,10 +6,6 @@ tags: ReleaseNotes title: Release 5.1.23 type: text/vnd.tiddlywiki -\define contributor(username) - @<$text text=<<__username__>>/> -\end - //[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.22...v5.1.23]]// <<.banner-credits @@ -267,33 +263,35 @@ Please note that using this plugin does not guarantee compliance with any partic [[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki: -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> +<<.contributors """ +adithya-badidey +Arlen22 +bimlas +BramChen +BurningTreeC +danielo515 +default-kramer +ento +favadi +fkohrt +flibbles +gera2ld +ibnishak +idotobi +jdangerx +jjduhamel +joshuafontany +kookma +Kamal-Habash +Marxsal +mocsa +NicolasPetton +OmbraDiFenice +passuf +pmario +rmunn +SmilyOrg +saqimtiaz +twMat +xcazin +""">> \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid b/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid index 82eacfb6e..369a31f59 100644 --- a/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +++ b/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid @@ -6,10 +6,6 @@ tags: ReleaseNotes title: Release 5.2.0 type: text/vnd.tiddlywiki -\define contributor(username) - @<$text text=<<__username__>>/> -\end - //[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.23...v5.2.0]]// <<.banner-credits @@ -267,37 +263,39 @@ For end users, if an upgrade to v5.2.0 causes problems then consult the discussi [[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki: -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> +<<.contributors """ +8d1h +Arlen22 +BlueGreenMagick +BramChen +BurningTreeC +cdruan +clutterstack +CodaCodr +dixonge +donmor +felixhayashi +FlashSystems +flibbles +FND +hoelzro +jeremyredhead +joebordes +joshuafontany +kookma +laomaiweng +leehawk787 +Marxsal +morosanuae +neumark +NicolasPetton +OdinJorna +pmario +rryan +saqimtiaz +simonbaird +slaymaker1907 +sobjornstad +twMat +xcazin +""">> \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid b/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid index b3b7a430b..b0894362c 100644 --- a/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +++ b/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid @@ -6,10 +6,6 @@ tags: ReleaseNotes title: Release 5.2.1 type: text/vnd.tiddlywiki -\define contributor(username) - @<$text text=<<__username__>>/> -\end - //[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.0...v5.2.1]]// <<.banner-credits @@ -108,17 +104,19 @@ The chief advantage is that the LetWidget performs the variable assignments in t [[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki: -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> +<<.contributors """ +bmann +btheado +BramChen +BurningTreeC +eiro10 +EvidentlyCube +flibbles +joshuafontany +Marxsal +pmario +saqimtiaz +Telumire +tw-FRed +twMat +""">> diff --git a/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid b/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid index b85fe274e..914a629ce 100644 --- a/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +++ b/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid @@ -6,10 +6,6 @@ tags: ReleaseNotes title: Release 5.2.2 type: text/vnd.tiddlywiki -\define contributor(username) - @<$text text=<<__username__>>/> -\end - //[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.1...v5.2.2]]// <<.banner-credits @@ -136,27 +132,29 @@ The immediate prompt for starting to fix these issue now is that Chrome v100 [[i [[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki: -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> -* <> +<<.contributors """ +benwebber +BramChen +btheado +CodaCodr +cdruan +damscal +davout1806 +EvidentlyCube +FlashSystems +flibbles +FSpark +ibnishak +jc-ose +joshuafontany +linonetwo +Marxsal +nilslindemann +oflg +pmario +rryan +saqimtiaz +slaymaker1907 +tw-FRed +twMat +""">> diff --git a/editions/tw5.com/tiddlers/system/doc-macros.tid b/editions/tw5.com/tiddlers/system/doc-macros.tid index 226a1ce35..afd50815b 100644 --- a/editions/tw5.com/tiddlers/system/doc-macros.tid +++ b/editions/tw5.com/tiddlers/system/doc-macros.tid @@ -1,5 +1,5 @@ created: 20150117152607000 -modified: 20211230150413997 +modified: 20220714133424023 tags: $:/tags/Macro title: $:/editions/tw5.com/doc-macros type: text/vnd.tiddlywiki @@ -171,4 +171,14 @@ $credit$ \end +\define .contributors(usernames) +
    +<$list filter="[enlist<__usernames__>sort[]]" variable="username"> +
  1. +] }}} class="tc-tiddlylink-external" target="_blank" rel="noopener noreferrer">addsuffix[.png?size=24]] }}} width="24" height="24"/> @<$text text=<>/> +
  2. + +
+\end +
<$view field="text"/>
\ No newline at end of file diff --git a/editions/tw5.com/tiddlers/system/doc-styles.tid b/editions/tw5.com/tiddlers/system/doc-styles.tid index 5b268a429..fe76da47d 100644 --- a/editions/tw5.com/tiddlers/system/doc-styles.tid +++ b/editions/tw5.com/tiddlers/system/doc-styles.tid @@ -253,3 +253,19 @@ a.doc-deprecated-version.tc-tiddlylink { <> } } + +.doc-github-contributors { + list-style: none; +} + +.doc-github-contributors a { + text-decoration: none; + font-size: 14px; + line-height: 18px; + vertical-align: baseline; +} + +.doc-github-contributors a img, +.doc-github-contributors a .doc-github-contributor-username { + vertical-align: middle; +}