Changes between Version 3 and Version 4 of WikiRestructuredText


Ignore:
Timestamp:
Dec 31, 2005, 5:43:42 PM (18 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredText

    v3 v4  
    1 = reStructuredText Support in Trac =
     1= reStructuredText のサポート =
    22
    3 Trac supports using ''reStructuredText'' (RST) as an alternative to wiki markup in any context WikiFormatting is used.
     3Trac は WikiFormatting が使われているあらゆるコンテキストの中で Wiki マークアップの代わりとなるものとして ''reStructuredText'' の使用をサポートしています。
    44
    5 From the reStucturedText webpage:
    6  "''reStructuredText is an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax and parser   system. It is useful for in-line program documentation (such as Python docstrings), for quickly creating  simple web pages, and for standalone documents. reStructuredText is designed for extensibility for  specific application domains. ''"
     5reStructuredText の Web ページより:
     6 "''reStructuredText は読みやすく、見たものを手にする、マークアップされたプレーンテキストとそのパーサシステムです。 reStructuredText はプログラムのインラインのドキュメント (例えば、 Python docstrings) や簡単な Web ページをすばやく作ること、スタンドアロンのドキュメントを書くのにとても役に立ちます。 reStructuredText は特定のアプリケーションの分野のための拡張として設計されています。''"
    77
    8 === Requirements ===
    9 Note that to activate RST support in Trac, the python docutils package must be installed.
    10 If not already available on your operating system, you can download it at the [http://docutils.sourceforge.net/rst.html RST Website].
     8=== 必須条件 ===
     9Trac で RST のサポートを有効にするためには、 Python の docutils パッケージがインストールされてなければなりません。
     10あなたのオペレーティングシステムでまだ使用できない場合は、 [http://docutils.sourceforge.net/rst.html RST Website] からダウンロードすることができます。
    1111
    12 === More information on RST ===
     12=== さらなる RST に関する情報 ===
    1313
    14  * reStructuredText Website -- http://docutils.sourceforge.net/rst.html
    15  * RST Quick Reference -- http://docutils.sourceforge.net/docs/rst/quickref.html
     14 * reStructuredText  Web サイト -- http://docutils.sourceforge.net/rst.html
     15 * RST クイックリファレンス -- http://docutils.sourceforge.net/docs/rst/quickref.html
    1616
    1717----
    1818
    19 == Using RST in Trac ==
    20 To specify that a block of text should be parsed using RST, use the ''rst'' processor.
     19== RST を Trac で使用する ==
     20テキストが RST を使用してパースされるようにするには、 ''rst'' プロセッサを使用してください。
    2121
    22 === TracLinks in reStructuredText ===
     22=== reStructuredText における TracLinks ===
    2323
    24  * Trac provides a custom RST reference-directive 'trac' to allow TracLinks from within RST text.
     24 * Trac は RST テキストの中で TracLinks を許可するための 'trac' というカスタマイズされたRSTのリファレンスディレクティブを提供しています。
    2525
    26  Example:
     26 :
    2727 {{{
    2828 {{{
     
    3434 }}}
    3535
    36  For a complete example of all uses of the ''trac''-directive, please see WikiRestructuredTextLinks.
     36 ''trac'' ディレクティブのすべての使用方法の一覧は、 WikiRestructuredTextLinks を見てください。
    3737
    3838
    39  * Trac allows an even easier way of creating TracLinks in RST, using the custom '':trac:'' link naming scheme.
     39 * Trac は RST において、カスタマイズされた '':trac::'' というリンクのための命名体系を使用することにより、簡単な方法で TracLinks を作ることを許可しています。
    4040
    41  Example:
     41 :
    4242 {{{
    4343 {{{
     
    4949 }}}
    5050
    51 === Syntax highlighting in reStructuredText ===
     51=== reStructuredText におけるシンタックスハイライト ===
    5252
    53 There is a directive for doing TracSyntaxColoring in ReST as well. The directive is called
    54 code-block
     53同様に、 RST において TracSyntaxColoring を行なうディレクティブがあります。
     54ディレクティブは code-block と呼ばれます。
    5555
    56 Example
     56
    5757
    5858{{{
     
    7070}}}
    7171
    72 Will result in the below.
     72上記の例は以下のように見えます。
    7373
    7474{{{
     
    8484}}}
    8585
    86 === WikiMacros in reStructuredText ===
     86=== reStructuredText の中における WikiMacros ===
    8787
    88 For doing WikiMacros in ReST you use the same directive as for syntax highlightning i.e
    89 code-block. To work you must use a version of trac that has #801 applied.
     88WikiMacros を ReST の中で使用するには、例えば code-block のようなシンタックスハイライトと同様の
     89ディレクティブを使用します。動作させるためには [http://projects.edgewall.com/trac/ticket/801 #801] のパッチ適用をした Trac を使用しなければなりません。
    9090
    91 === WikiMacro Example ===
     91=== WikiMacros の例 ===
    9292
    9393{{{
     
    103103}}}
    104104
    105 Will result in the below.
     105この結果は以下のようになります。
    106106
    107107[[HelloWorld(Something I wanted to say)]]
    108108
    109109
    110 === Bigger ReST Example ===
    111 The example below should be mostly self-explanatory:
     110=== より大きい ReST の例 ===
     111この例のように書くと、とても分かりやすくなります:
    112112{{{
    113113#!html
     
    141141
    142142
    143 Results in:
     143結果:
    144144{{{
    145145#!rst
     
    169169}}}
    170170
     171'''訳注: 日本語でテーブルを作成する場合、 docutils にパッチする必要があります。'''
    171172
    172173----