mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-15 22:34:51 +00:00
a2c764d407
* enable doc contributions for dev fixes #2921 * involves changes to boot.js to properly build OriginalTiddlerPaths on Windows * added ContributionBanner * added Sources tab to info panel * updated tiddlywiki.info for dev * normalize path separator to posix for windows * more generically transform to posix
21 lines
886 B
Plaintext
21 lines
886 B
Plaintext
title: $:/ContributionBanner
|
|
tags: $:/tags/EditTemplate
|
|
list-after: $:/core/ui/EditTemplate/title
|
|
|
|
\define makeGitHubLink()
|
|
https://github.com/Jermolene/TiddlyWiki5/edit/master/editions/dev/tiddlers/$(githubLink)$
|
|
\end
|
|
\define innerMakeGitHubLink(linkText)
|
|
<$set name="githubLink" value={{$:/config/OriginalTiddlerPaths##$(draftOfTiddler)$}}>
|
|
<a href=<<makeGitHubLink>> class="tc-tiddlylink-external" target="_blank" rel="noopener noreferrer">$linkText$</a>
|
|
</$set>
|
|
\end
|
|
\define outerMakeGitHubLink(linkText)
|
|
<$set name="draftOfTiddler" value={{$(currentTiddler)$!!draft.of}}>
|
|
<<innerMakeGitHubLink "$linkText$">>
|
|
</$set>
|
|
\end
|
|
<div class="tc-improvement-banner">
|
|
{{$:/core/images/star-filled}} Can you help us improve this documentation? [ext[Find out how|https://tiddlywiki.com/#Improving%20TiddlyWiki%20Documentation]] to edit <<outerMakeGitHubLink "this tiddler on ~GitHub">>
|
|
</div>
|