-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ja_JP] Japanese translation update - 'Platforms' section of tiddlywi…
…ki.com (#8940) * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\definitions\TiddlyDesktop.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\platforms\Platforms.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\TiddlyWiki on Node.js.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Building TiddlyWikiClassic.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Installing TiddlyWiki Prerelease on Node.js.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\commands\NamedCommandParameters.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Upgrading TiddlyWiki on Node.js.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Using a custom path prefix with the client-server edition.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Customising Tiddler File Naming.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Environment Variables on Node.js.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Generating Static Sites with TiddlyWiki.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to build a TiddlyWiki5 from individual tiddlers.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Installing custom plugins on Node.js.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Installing official plugins on Node.js.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\saving\Example config-tiddlyweb-host for IIS.txt' * [ja-JP] Japanese translation of 'editions\ja-JP\tiddlers\saving\Example package.json for IIS.txt' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\saving\Example tiddlywiki.info for IIS.txt' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\saving\Example web.config for IIS.txt' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\fileformats\MultiTiddlerFiles.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\fileformats\MultiTiddlerFileSyntax.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Scripts for TiddlyWiki on Node.js.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\fileformats\TiddlerFiles.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\tiddlywiki.files_Files.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\tiddlywiki.info_Files.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\concepts\TiddlyWikiFolders.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Uninstalling a plugin with Node.js.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Using TiddlyWiki for GitHub project documentation.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Using TiddlyWiki on Node.js.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\nodejs\Working with the TiddlyWiki5 repository.tid' * [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\plugins\Plugin Ordering.tid'
- Loading branch information
1 parent
4f0bdac
commit 0b75819
Showing
34 changed files
with
1,126 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
editions/ja-JP/tiddlers/commands/NamedCommandParameters.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
created: 20180626122427188 | ||
modified: 20241228111603066 | ||
original-modified: 20211117234223960 | ||
tags: [[TiddlyWiki on Node.js]] | ||
title: NamedCommandParameters | ||
ja-title: 名前付きコマンドパラメータ | ||
type: text/vnd.tiddlywiki | ||
|
||
<<.from-version "5.1.18">> ほとんどのTiddlyWiki[[コマンド|Commands]]は、パラメータに位置に基づくシステムを使用しており、各パラメータはコマンドで定義された正確な順序でリストされる必要があります。より複雑なコマンドの中には、名前付きコマンドパラメータの代替スキームを提供するものもあります。たとえば、ここでは"port"と"host"という2つのパラメータを提供します: | ||
|
||
``` | ||
--listen port=8090 host=0.0.0.0 | ||
``` | ||
|
||
パラメータの順序は重要ではないことに注意してください。 | ||
|
||
パラメータ内で特殊文字を使用するには引用符が必要です。Unix、Linux、Macではシングルクォートが使用され、Windowsではダブルクォートが使用されます: | ||
|
||
``` | ||
--listen port=8090 username=joe 'password=s3cret(!' | ||
--listen port=8090 username=joe "password=s3cret(!" | ||
``` | ||
|
||
引用符は値の部分だけでなく、名前=値のペア全体を括ることに注意してください。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
created: 20130825214200000 | ||
modified: 20250203103623306 | ||
original-modified: 20161015134454785 | ||
tags: [[TiddlyWiki on Node.js]] | ||
title: TiddlyWikiFolders | ||
ja-title: TiddlyWikiフォルダ | ||
type: text/vnd.tiddlywiki | ||
|
||
[[Node.js上のTiddlyWiki|TiddlyWiki on Node.js]]は、従来の単一ファイルWikiと同様に、フォルダーに保存される個々のTiddlerファイルのWikiもサポートします。 | ||
|
||
! Wikiフォルダ構造 | ||
|
||
Wikiフォルダーには、次のファイルとフォルダーを含めることができます: | ||
|
||
* ''tiddlywiki.info'' - Wikiのメタデータを含むJSONファイル -- [[tiddlywiki.infoファイル|tiddlywiki.info Files]]を参照 | ||
* ''\tiddlers'' - Wikiを構成するTiddlerファイルを含むフォルダ | ||
* ''\plugins'' - Wikiに含める[[プラグインフォルダ|PluginFolders]]を含むフォルダ | ||
* ''\languages'' - Wikiに含める言語プラグインの[[プラグインフォルダ|PluginFolders]]を含むフォルダ | ||
* ''\themes'' - Wikiに含めるテーマプラグインの[[プラグインフォルダ|PluginFolders]]を含むフォルダ | ||
|
||
''tiddlywiki.info''ファイルのみが必須で、その他はすべてオプションです。上記にリストされていないファイルとフォルダーは無視されます。 | ||
|
||
!! プラグイン処理 | ||
|
||
ブラウザで使用できるようにするには、プラグインをWikiに含める必要があります。サーバー上で生成されるWikiの場合、[[TiddlyWikiフォルダ|TiddlyWikiFolders]]には、このWikiに含めるプラグインの識別を[[tiddlywiki.infoファイル|tiddlywiki.info Files]]に含めることができます: | ||
|
||
``` | ||
{ | ||
"plugins": [ | ||
"tiddlywiki/slider", | ||
"tiddlytools/chooser" | ||
] | ||
} | ||
``` | ||
|
||
プラグイン名は、TiddlyWiki5のルート`plugins`フォルダーにリストされているプラグインフォルダーを参照します。プラグインは、Wikiの`plugins`サブフォルダーにコピーして手動で含めることもできます。 | ||
|
||
!! `tiddlers`フォルダの処理 | ||
|
||
`tiddlers`フォルダー内のすべての[[Tiddlerファイル|TiddlerFiles]]は、起動時にWikiに読み込まれます。サブフォルダーは[[Tiddlerファイル|TiddlerFiles]]の再帰スキャンの対象となります。新しく作成されたTiddlerは、[[特に設定されて|Customising Tiddler File Naming]]いない限り、`tiddlers`フォルダーの直下の[[Tiddlerファイル|TiddlerFiles]]に保存されます。 | ||
|
||
`tiddlers`フォルダー内のサブフォルダーのデフォルトの処理は、`tiddlywiki.files`と呼ばれるJSONファイルを提供することで上書きできます -- [[tiddlywiki.filesファイル|tiddlywiki.files Files]]を参照。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
created: 20140126125259638 | ||
modified: 20241227104451970 | ||
original-modified: 20171118195316103 | ||
tags: Definitions Platforms | ||
title: TiddlyDesktop | ||
ja-title: TiddlyDesktop | ||
type: text/vnd.tiddlywiki | ||
|
||
TiddlyDesktopは、TiddlyWikiファイル(TiddlyWikiClassicとTiddlyWikiバージョン5の両方)を操作するためのアプリです。Windowsや、Mac OS X、Linuxにインストールできます。TiddlyWikiバージョン5と古いTiddlyWikiClassicと互換性があります | ||
|
||
{{Saving on TiddlyDesktop}} | ||
|
||
{{Introducing TiddlyDesktop Video}} | ||
|
||
! ソース | ||
|
||
TiddlyDesktopは、[[オープンソース|OpenSource]]プロジェクト[[NW.js]]をベースにしています。ソースはGitHubにあります: | ||
|
||
https://github.com/TiddlyWiki/TiddlyDesktop/ | ||
|
||
[[TiddlyDesktopのリリース|TiddlyDesktop Releases]]と[[TiddlyDesktopのカスタマイズ方法|How to Customize TiddlyDesktop]]を参照してください |
31 changes: 31 additions & 0 deletions
31
editions/ja-JP/tiddlers/fileformats/MultiTiddlerFileSyntax.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
created: 20150621181334837 | ||
modified: 20250124111732489 | ||
original-modified: 20150621181400844 | ||
tags: [[TiddlyWiki on Node.js]] | ||
title: MultiTiddlerFileSyntax | ||
ja-title: マルチTiddlerファイル構文 | ||
type: text/vnd.tiddlywiki | ||
|
||
!!! [[マルチTiddlerファイル|MultiTiddlerFiles]] | ||
|
||
<$railroad text=""" | ||
{<"ヘッダー行">} "空行" {(<"Tiddler記述行"> | <"コメント行">)} | ||
"""/> | ||
|
||
!!! ヘッダー行 | ||
|
||
<$railroad text=""" | ||
<"識別子"> ":" {"ホワイトスペース"} <"値"> "改行" | ||
"""/> | ||
|
||
!!! Tiddler記述行 | ||
|
||
<$railroad text=""" | ||
<"ファイルパス"> ":" {"ホワイトスペース"} <"Tiddlerタイトル"> "改行" | ||
"""/> | ||
|
||
!!! コメント行 | ||
|
||
<$railroad text=""" | ||
"#" {("テキスト" | "ホワイトスペース")} "改行" | ||
"""/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
created: 20140209143652456 | ||
modified: 20250123115055695 | ||
original-modified: 20150621182140407 | ||
tags: [[TiddlyWiki on Node.js]] | ||
title: MultiTiddlerFiles | ||
ja-title: マルチTiddlerファイル | ||
type: text/vnd.tiddlywiki | ||
|
||
MultiTiddlerFilesを使用すると、複数のTiddlerを1つのテキストファイルに簡潔に表現できます。 | ||
|
||
この形式の目標は次のとおりです: | ||
|
||
* 入力しやすく、読みやすい | ||
* 単一行の文字列に最適化 | ||
* Tiddlerのグループ内で共通のフィールドやタグを共有できるようにする | ||
* 外部ツールで簡単に処理できるようにする | ||
|
||
MultiTiddlerFilesの拡張子は`multids`です。ファイルは、共有フィールドのブロックとそれに続く空白行で構成されます。ファイルの残りの部分は、コメントとTiddlerのシーケンスです。Tiddlerはタイトルで指定され、その後にコロン、少なくとも1つのスペース文字が続き、行の残りの部分はTiddlerのテキストフィールドになります。 | ||
|
||
例: | ||
|
||
``` | ||
title: $:/language/ControlPanel/ | ||
tags: strings | ||
modifier: JoeBloggs | ||
|
||
Basics/Caption: Basics | ||
# This is a comment | ||
Basics/Version: ~TiddlyWiki Version | ||
``` | ||
|
||
この例では、[[$:/language/ControlPanel/Basics/Caption]]と[[$:/language/ControlPanel/Basics/Version]]の2つのTiddlerを定義します。 | ||
|
||
ヘッダーで`title`フィールドが指定されている場合、タイトルで定義された個々のTiddlerのプレフィックスとして扱われます。 | ||
|
||
!! 構文の仕様 | ||
|
||
{{MultiTiddlerFileSyntax}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
created: 20130825150000000 | ||
modified: 20250125105846987 | ||
original-modified: 20210714130751701 | ||
tags: [[TiddlyWiki on Node.js]] | ||
title: TiddlerFiles | ||
ja-title: Tiddlerファイル | ||
type: text/vnd.tiddlywiki | ||
|
||
Tiddlerは、さまざまな形式でテキストファイルに保存できます。単一のTiddlerを含むファイルには、名前:値のペアのシーケンスとしてフォーマットされた`.meta`補助ファイルを持つこともできます。 | ||
|
||
``` | ||
title: TheTitle | ||
modifier: someone | ||
``` | ||
|
||
!! ~TiddlyWebスタイルの.tidファイル | ||
|
||
これらのファイルは、名前:値のペア、空白行、そしてTiddlerのテキストを含む一連の行で構成されます。例: | ||
|
||
``` | ||
title: MyTiddler | ||
modifier: Jeremy | ||
|
||
This is the text of my tiddler. | ||
``` | ||
|
||
多くのテキストエディターでは、ファイルに終了改行が含まれている必要があることに注意してください。Tiddlerのテキストに終了改行を含めたくない場合は、次の代替構文を使用できます: | ||
|
||
``` | ||
title: MyTiddler | ||
modifier: Jeremy | ||
text: This is the text of my tiddler. | ||
``` | ||
|
||
//`application/x-tiddler` ContentTypeはこれらのファイルの内部で使用されます// | ||
|
||
!! TiddlyWiki `<DIV>` .tiddlerファイル | ||
|
||
TiddlyWiki 5では、`*.tiddler`ファイルは次のようになります。 | ||
|
||
``` | ||
<div title="AnotherExampleStyleSheet" modifier="blaine" created="201102111106" modified="201102111310" tags="examples" creator="psd"> | ||
<pre>Note that there is an embedded <pre> tag, and line feeds are not escaped. | ||
|
||
And, weirdly, there is no HTML encoding of the body.</pre> | ||
</div> | ||
``` | ||
|
||
これらの`*.tiddler`ファイルは、HTML エンコードされたTiddlyWiki HTMLファイル内のTiddlerとまったく同じではありません。 | ||
|
||
Older `*.tiddler` files more closely matched the store format used by TiddlyWiki at the time: | ||
古い`*.tiddler`ファイルは、当時TiddlyWikiで使用されていたストア形式に似ています: | ||
|
||
``` | ||
<div tiddler="AnotherExampleStyleSheet" modifier="JeremyRuston" modified="200508181432" created="200508181432" tags="examples">This is an old-school .tiddler file, without an embedded <pre> tag.\nNote how the body is "HTML encoded" and new lines are escaped to \\n</div> | ||
``` | ||
|
||
//`application/x-tiddler-html-div` ContentTypeはこれらのファイルの内部で使用されます// | ||
|
||
!! ~TiddlyWebスタイルのJSONファイル | ||
|
||
これらのファイルは、`name:value`プロパティのハッシュマップの単純な配列です。すべてのフィールド値は文字列として指定する必要があります。 | ||
|
||
例: | ||
|
||
``` | ||
[ | ||
{ | ||
"title": "First Tiddler", | ||
"text": "Text of first tiddler", | ||
"tags": "one two [[t h r e e]]" | ||
},{ | ||
"title": "Second Tiddler", | ||
"text": "Text of second tiddler", | ||
"modified": "20150216171751154" | ||
} | ||
] | ||
``` | ||
|
||
`application/json` ContentTypeはこれらのファイルに対して内部で使用されます。 | ||
|
||
Tiddler構造に準拠していないJSONファイルは、代わりにJSONデータを含む単一のTiddlerとしてインポートされることに注意してください。 | ||
|
||
!! TiddlyWiki HTMLファイル用の新しいJSONベースの形式 | ||
|
||
TiddlyWiki HTMLファイルの新しい形式では、スクリプトタグ内にJSON形式のTiddlerが埋め込まれます: | ||
|
||
```json | ||
<script class="tiddlywiki-tiddler-store" type="application/json">[ | ||
{"title": "A","text": "One"}, | ||
{"title": "B","text": "Two"} | ||
]</script> | ||
``` | ||
|
||
!! TiddlyWiki HTMLファイル用の古いDIVベースの形式 | ||
|
||
TiddlyWikiクラシックおよびバージョンv5.2.0より前のTiddlyWiki 5では、Tiddlerは`<DIV>`形式でエンコードされて保存されていました。 | ||
|
||
TiddlyWikiが暗号化されていないDIVベースのHTMLファイルをインポートするには、上で説明したようにTiddler DIVを含んだ`<div id="storeArea">`が必要です。例: | ||
|
||
``` | ||
<div id="storeArea"> | ||
<div created="20130302085406905" modified="20130302084548184" tags="Examples" title="A tiddler title"> | ||
<pre>HTML encoded text of tiddler | ||
</pre> | ||
</div> | ||
<div created="20140315085406905" modified="20140321084548184" tags="One Two [[Three with Space]]" title="Another title" customfield="field value"> | ||
<pre>Text of this tiddler | ||
</pre> | ||
</div> | ||
</div> | ||
``` |
37 changes: 37 additions & 0 deletions
37
editions/ja-JP/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
created: 20130828190200000 | ||
modified: 20250120105549696 | ||
original-modified: 20241008031135403 | ||
tags: [[TiddlyWiki on Node.js]] | ||
title: Generating Static Sites with TiddlyWiki | ||
ja-title: TiddlyWikiで静的サイトを生成する | ||
type: text/vnd.tiddlywiki | ||
|
||
TiddlyWiki5は、JavaScriptを必要としないTiddlyWikiの静的HTML表現を生成できます。このプロセスでは、ローカルシステムのNode.jsにTiddlyWikiがインストールされている必要があります。詳細については、[[Node.jsにTiddlyWikiをインストールする|Installing TiddlyWiki on Node.js]]を参照してください。 | ||
|
||
静的HTMLの生成方法には多くの柔軟性があります。次のシナリオはすべて https://tiddlywiki.com で説明されています。 | ||
|
||
! WikiスナップショットとTiddlerスナップショット | ||
|
||
https://tiddlywiki.com/static.html で、メインのTiddlyWikiサイトの静的な表現を見ることができます。このファイルは、現在のDefaultTiddlersの静的スナップショットです。このファイルにリンクされているすべてのTiddlerは、個々のTiddlerの静的スナップショットを指す`/static/HelloThere.html`形式のURLによって参照されます。TiddlerのHTMLファイルは、`static.css`スタイルシートファイルを参照します。 | ||
|
||
次のコマンドは、TiddlyWiki5サイトの静的バージョンのサンプルを生成するために使用されます: | ||
|
||
```sh | ||
tiddlywiki wikipath --render '[!is[system]]' '[encodeuricomponent[]addprefix[static/]addsuffix[.html]]' text/plain $:/core/templates/static.tiddler.html | ||
tiddlywiki wikipath --render $:/core/templates/static.template.html static.html text/plain | ||
tiddlywiki wikipath --render $:/core/templates/static.template.css static/static.css text/plain | ||
``` | ||
|
||
最初のRenderCommandは、フィルタ`[!is[system]]`を使用してすべての個別の非システムTiddlerのHTML表現を生成し、次のフィルタ`[encodeuricomponent[]addprefix[static/]addsufixx[.html]]`は各タイトルにURIエンコーディングを適用し、プレフィックス`static/`を追加して、最後にサフィックス`.html`を追加します。2番目のRenderCommandは、DefaultTiddlersの静的バージョンを`static.html`に保存し、最後のRenderCommandはスタイルシートを保存します。(すべてのファイルは、Wikiフォルダの`output`フォルダに配置されます)。 | ||
|
||
! 内部リンク付きWikiスナップショット | ||
|
||
Tiddlerの静的表現を含み、標準のHTMLアンカーリンクを使用してそれらの間を移動する単一のHTMLファイルを作成することも可能です。 | ||
|
||
例: https://tiddlywiki.com/alltiddlers.html | ||
|
||
この例は次のコマンドによって構築できます: | ||
|
||
``` | ||
--render $:/core/templates/alltiddlers.template.html alltiddlers.html text/plain | ||
``` |
19 changes: 19 additions & 0 deletions
19
editions/ja-JP/tiddlers/howtos/How to build a TiddlyWiki5 from individual tiddlers.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
created: 20131124220600000 | ||
modified: 20250121112457196 | ||
original-modified: 20241025051111864 | ||
tags: [[TiddlyWiki on Node.js]] | ||
title: How to build a TiddlyWiki5 from individual tiddlers | ||
ja-title: 個々のTiddlerからTiddlyWiki5を構築する方法 | ||
type: text/vnd.tiddlywiki | ||
|
||
まず、[[Node.jsにTiddlyWikiをインストール|Installing TiddlyWiki on Node.js]]の説明に従ってTiddlyWikiをインストールします。 | ||
|
||
# 空の[[TiddlyWikiFolder|TiddlyWikiFolders]]を作成します | ||
## 適当な場所に新しいフォルダを作成します (例: `~/MyWiki`) | ||
## 次のテキストを含む`tiddlywiki.info`というファイルを作成します: | ||
##* `{"themes": ["tiddlywiki/vanilla","tiddlywiki/snowwhite"]}` | ||
## `tiddlers`というサブフォルダを作成します | ||
##* あるいは、TiddlyWiki5リポジトリから、`editions/empty`フォルダをコピーします | ||
# `~/MyWiki/tiddlers`ディレクトリ内に個々のTiddlerFilesを作成します | ||
# TiddlyWiki5ルートディレクトリから次のコマンドを実行して、TiddlerからTiddlyWiki5ファイルを構築します: | ||
## `tiddlywiki ~/MyWiki --render $:/core/save/all index.html text/plain` |
31 changes: 31 additions & 0 deletions
31
editions/ja-JP/tiddlers/howtos/Using TiddlyWiki for GitHub project documentation.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
created: 20130825150100000 | ||
modified: 20250204104525288 | ||
original-modified: 20140912141559011 | ||
tags: [[TiddlyWiki on Node.js]] | ||
title: Using TiddlyWiki for GitHub project documentation | ||
ja-title: GitHubプロジェクトのドキュメントにTiddlyWikiを使用する | ||
type: text/vnd.tiddlywiki | ||
|
||
TiddlyWiki5は、GitHubプロジェクトのドキュメントを作成するために使用できます。ソースコード管理下にある個別のTiddlerファイルを含む[[TiddlyWikiフォルダ|TiddlyWikiFolders]]として単一のドキュメントセットを維持し、それを使用してプロジェクトフォルダーに含める`readme.md`ファイルや[[GitHub Pages|http://pages.github.com/]]に保存するHTMLファイルを作成できます。両方の機能は、TiddlyWiki5自身によって実証されています。 | ||
|
||
! `readme.md`ファイルの生成 | ||
|
||
フォルダーの内容を表示する際、GitHubは`readme.md`ファイルを探して表示します。この方法では完全なHTMLファイルではなく、静的なMarkDownファイルのみが表示されることに注意してください(これはセキュリティ対策です)。幸いなことに、MarkDownはHTMLの安全なサブセットを許可しているため、GitHubに適した`readme.md`ファイルを生成するには、TiddlyWiki5がHTMLドキュメントの`<body>`要素の内容を生成し、適切なファイル名を付けるだけで済みます。 | ||
|
||
これは次のコマンドで実行できます: | ||
|
||
``` | ||
--rendertiddler ReadMe ./readme.md text/html | ||
``` | ||
|
||
ReadMe Tiddlerを`text/html`形式でファイル`./readme.md`に保存します。 | ||
|
||
デフォルトでは、Tiddlerのリンクは、Tiddlerのタイトルで構成される相対URIへのリンクとしてレンダリングされます。この動作は、ReadMe Tiddlerの先頭で行われているように、マクロ`tv-wikilink-template`を定義することで上書きできます | ||
|
||
``` | ||
\define tv-wikilink-template() https://tiddlywiki.com/static/$uri_doubleencoded$.html | ||
``` | ||
|
||
詳細については、LinkWidgetを参照してください。 | ||
|
||
この例では、Tiddlerのリンクはtw5.comの静的レンダリングへのリンクとしてレンダリングされます。 |
16 changes: 16 additions & 0 deletions
16
editions/ja-JP/tiddlers/howtos/Using a custom path prefix with the client-server edition.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
created: 20140613133627669 | ||
modified: 20241230102718926 | ||
original-modified: 20140912141613393 | ||
tags: [[TiddlyWiki on Node.js]] | ||
title: Using a custom path prefix with the client-server edition | ||
ja-title: クライアント-サーバーエディションでカスタムのパスプレフィックスを使用する | ||
type: text/vnd.tiddlywiki | ||
|
||
デフォルトでは、[[Node.js上のTiddlyWiki|TiddlyWiki on Node.js]]を実行すると、サーバーはプロトコル、ホスト、ポートから形成されたURI - 例えば、`http://127.0.0.1:8080/`でWikiを公開します。 | ||
|
||
`http://127.0.0.1:8080/path/to/my/wiki/`のようなカスタムパスでWikiを実行するには、2つの手順があります: | ||
|
||
# ServerCommandの''pathprefix''属性として`/path/to/my/wiki`を渡してサーバーを設定します | ||
# `$protocol$//$host$/path/to/my/wiki/`を含む、`$:/config/tiddlyweb/host`というTiddlerを作成してクライアントを設定します | ||
|
||
|
Oops, something went wrong.