|
61 | 61 | # recursively for C and Ruby source files only.
|
62 | 62 | #
|
63 | 63 | # == \Options
|
| 64 | +# |
64 | 65 | # rdoc can be passed a variety of command-line options. In addition,
|
65 | 66 | # options can be specified via the +RDOCOPT+ environment variable, which
|
66 | 67 | # functions similarly to the +RUBYOPT+ environment variable.
|
|
70 | 71 | # will make rdoc default to inline method source code. Command-line options
|
71 | 72 | # always will override those in +RDOCOPT+.
|
72 | 73 | #
|
73 |
| -# Run |
| 74 | +# Run: |
74 | 75 | #
|
75 |
| -# % rdoc --help |
| 76 | +# rdoc --help |
76 | 77 | #
|
77 | 78 | # for full details on rdoc's options.
|
78 | 79 | #
|
79 |
| -# Here are some of the most commonly used options. |
80 |
| -# [-d, --diagram] |
81 |
| -# Generate diagrams showing modules and |
82 |
| -# classes. You need dot V1.8.6 or later to |
83 |
| -# use the --diagram option correctly. Dot is |
84 |
| -# available from http://graphviz.org |
85 |
| -# |
86 |
| -# [-S, --inline-source] |
87 |
| -# Show method source code inline, rather than via a popup link. |
88 |
| -# |
89 |
| -# [-T, --template=NAME] |
90 |
| -# Set the template used when generating output. |
91 |
| -# |
92 | 80 | # == Documenting Source Code
|
93 | 81 | #
|
94 |
| -# Comment blocks can be written fairly naturally, either using +#+ on |
| 82 | +# Comment blocks can be written fairly naturally, either using <tt>#</tt> on |
95 | 83 | # successive lines of the comment, or by including the comment in
|
96 | 84 | # a =begin/=end block. If you use the latter form, the =begin line must be
|
97 | 85 | # flagged with an RDoc tag:
|
|
150 | 138 | # +:yields:+ is an example of a documentation directive. These appear
|
151 | 139 | # immediately after the start of the document element they are modifying.
|
152 | 140 | #
|
| 141 | +# RDoc automatically cross-references words with underscores or camel-case. |
| 142 | +# To suppress cross-references, prefix the word with a \\ character. To |
| 143 | +# include special characters like "\\n", you'll need to use two \\ |
| 144 | +# characters like "\\\\\\n". |
| 145 | +# |
153 | 146 | # == \Markup
|
154 | 147 | #
|
155 | 148 | # * The markup engine looks for a document's natural left margin. This is
|
|
216 | 209 | #
|
217 | 210 | # Word-based markup uses flag characters around individual words:
|
218 | 211 | #
|
219 |
| -# [\*word*] displays word in a *bold* font |
220 |
| -# [\_word_] displays word in an _emphasized_ font |
221 |
| -# [\+word+] displays word in a +code+ font |
| 212 | +# [<tt>\*word*</tt>] displays word in a *bold* font |
| 213 | +# [<tt>\_word_</tt>] displays word in an _emphasized_ font |
| 214 | +# [<tt>\+word+</tt>] displays word in a +code+ font |
222 | 215 | #
|
223 | 216 | # General markup affects text between a start delimiter and and end
|
224 | 217 | # delimiter. Not surprisingly, these delimiters look like HTML markup.
|
225 | 218 | #
|
226 |
| -# [\<b>text...</b>] displays word in a *bold* font |
227 |
| -# [\<em>text...</em>] displays word in an _emphasized_ font |
228 |
| -# [\<i>text...</i>] displays word in an <i>italicized</i> font |
229 |
| -# [\<tt>text...</tt>] displays word in a +code+ font |
| 219 | +# [<tt>\<b>text...</b></tt>] displays word in a *bold* font |
| 220 | +# [<tt>\<em>text...</em></tt>] displays word in an _emphasized_ font |
| 221 | +# [<tt>\<i>text...</i></tt>] displays word in an <i>italicized</i> font |
| 222 | +# [<tt>\<tt>text...\</tt></tt>] displays word in a +code+ font |
230 | 223 | #
|
231 | 224 | # Unlike conventional Wiki markup, general markup can cross line
|
232 | 225 | # boundaries. You can turn off the interpretation of markup by
|
@@ -382,7 +375,7 @@ class Error < RuntimeError; end
|
382 | 375 | ##
|
383 | 376 | # RDoc version you are using
|
384 | 377 |
|
385 |
| - VERSION = "2.4.1" |
| 378 | + VERSION = '2.4.3' |
386 | 379 |
|
387 | 380 | ##
|
388 | 381 | # Name of the dotfile that contains the description of files to be processed
|
|
0 commit comments