mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 21:06:56 +00:00
enable doc contributions for dev (#3047)
* 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
This commit is contained in:
committed by
Jeremy Ruston
parent
feace8d26b
commit
a2c764d407
23
editions/dev/tiddlers/system/Sources.tid
Normal file
23
editions/dev/tiddlers/system/Sources.tid
Normal file
@@ -0,0 +1,23 @@
|
||||
title: $:/editions/tw5.com/TiddlerInfo/Sources
|
||||
tags: $:/tags/TiddlerInfo
|
||||
caption: Sources
|
||||
|
||||
\define github-link-base()
|
||||
https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/dev/tiddlers/$(title)$
|
||||
\end
|
||||
|
||||
\define make-github-link()
|
||||
<$set name="title" value={{$:/config/OriginalTiddlerPaths##$(currentTiddler)$}}>
|
||||
<$set name="title" filter="[<title>encodeuricomponent[]]" select="0">
|
||||
<a href=<<github-link-base>> class="tc-tiddlylink-external" target="_blank" rel="noopener noreferrer"><$text text=<<github-link-base>>/></a>
|
||||
</$set>
|
||||
</$set>
|
||||
\end
|
||||
|
||||
<$list filter="[all[current]!is[system]!is[shadow]]">
|
||||
|
||||
Help us to improve the documentation by sending a ~GitHub pull request for this tiddler:
|
||||
|
||||
* <<make-github-link>>
|
||||
|
||||
</$list>
|
||||
Reference in New Issue
Block a user