이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

How to add a banner for GitHub contributions

2014년 11월 23일 오전 9:44

When you edit a tiddler on https://tiddlywiki.com you will see a small ribbon inviting you to edit the source of the tiddler on GitHub.

If you are using Node.js, you can replicate this feature for your own TiddlyWiki-based site as follows:

  1. Make sure the following setting is included in the tiddlywiki.info file in your wiki folder:
    	"config": {
    		"retain-original-tiddler-path": true
    	}
  2. Copy the tiddler $:/ContributionBanner to your wiki
  3. Make the following changes:
    1. Adjust the GitHub link URL from https://github.com/TiddlyWiki/TiddlyWiki5/edit/master/editions/tw5.com/tiddlers/ to point to your own GitHub repo
    2. Make sure the wording of the text starting "Can you help us improve this documentation?" is appropriate for your visitors
    3. Adjust the link to Improving TiddlyWiki Documentation to point to your own tiddler with instructions for the contribution procedure