~ubuntu-branches/ubuntu/quantal/ruby1.9.1/quantal

« back to all changes in this revision

Viewing changes to debian/manpages/rdoc1.9.1.1

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2009-07-30 19:06:31 UTC
  • Revision ID: james.westby@ubuntu.com-20090730190631-3x30w2mtev71ah62
Tags: 1.9.1.243-0ubuntu1
* Upload snapshot from Debian's pkg-ruby SVN repository to karmic.
  SVN revision: 235.
  Likely to be similar to the final package uploaded to Debian.
  Known issues:
  + lintian warnings/errors (nothing important)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" DO NOT MODIFY THIS FILE! it was generated by rd2
 
2
.TH rdoc1.9 1 "May 2007"
 
3
.SH NAME
 
4
.PP
 
5
rdoc1.9 \- Generate documentation from Ruby script files
 
6
.SH SYNOPSIS
 
7
.nf
 
8
\&    rdoc1.9 [options]  [names...]
 
9
.fi
 
10
.SH DESCRIPTION
 
11
.PP
 
12
Files are parsed, and the information they contain collected, before any
 
13
output is produced. This allows cross references between all files to be
 
14
resolved. If a name is a directory, it is traversed. If no names are
 
15
specified, all Ruby files in the current directory (and subdirectories) are
 
16
processed.
 
17
.PP
 
18
Available output formatters: chm, html, ri, xml
 
19
.PP
 
20
For information on where the output goes, use:
 
21
.nf
 
22
\&    rdoc \-\-help\-output
 
23
.fi
 
24
.SH OPTIONS
 
25
.TP
 
26
.fi
 
27
.B
 
28
\-\-accessor, \-A accessorname[,..]
 
29
comma separated list of additional class methods that should be treated
 
30
like 'attr_reader' and friends. Option may be repeated. Each accessorname
 
31
may have '=text' appended, in which case that text appears where the
 
32
r/w/rw appears for normal accessors.
 
33
.TP
 
34
.fi
 
35
.B
 
36
\-\-all, \-a
 
37
include all methods (not just public) in the output.
 
38
.TP
 
39
.fi
 
40
.B
 
41
\-\-charset, \-c charset
 
42
specifies HTML character\-set
 
43
.TP
 
44
.fi
 
45
.B
 
46
\-\-debug, \-D
 
47
displays lots on internal stuff
 
48
.TP
 
49
.fi
 
50
.B
 
51
\-\-diagram, \-d
 
52
generate diagrams showing modules and classes.  You need dot V1.8.6 or
 
53
later to use the \-\-diagram option correctly. Dot is available from
 
54
<URL:http://www.research.att.com/sw/tools/graphviz/>.
 
55
.TP
 
56
.fi
 
57
.B
 
58
\-\-exclude, \-x pattern
 
59
do not process files or directories matching pattern. Files given
 
60
explicitly on the command line will never be excluded.
 
61
.TP
 
62
.fi
 
63
.B
 
64
\-\-extension, \-E new=old
 
65
treat files ending with .new as if they ended with .old. Using '\-E cgi=rb'
 
66
will cause xxx.cgi to be parsed as a Ruby file
 
67
.TP
 
68
.fi
 
69
.B
 
70
\-\-fileboxes, \-F
 
71
classes are put in boxes which represents files, where these classes
 
72
reside. Classes shared between more than one file are shown with list of
 
73
files that sharing them.  Silently discarded if \-\-diagram is not given
 
74
Experimental.
 
75
.TP
 
76
.fi
 
77
.B
 
78
\-\-fmt, \-f formatname
 
79
set the output formatter (see below).
 
80
.TP
 
81
.fi
 
82
.B
 
83
\-\-help, \-h
 
84
print usage.
 
85
.TP
 
86
.fi
 
87
.B
 
88
\-\-help\-output, \-O
 
89
explain the various output options.
 
90
.TP
 
91
.fi
 
92
.B
 
93
\-\-image\-format, \-I gif|png|jpg|jpeg
 
94
sets output image format for diagrams. Can be png, gif, jpeg, jpg. If this
 
95
option is omitted, png is used. Requires \-\-diagram.
 
96
.TP
 
97
.fi
 
98
.B
 
99
\-\-include, \-i dir[,dir...]
 
100
set (or add to) the list of directories to be searched when satisfying
 
101
:include: requests. Can be used more than once.
 
102
.TP
 
103
.fi
 
104
.B
 
105
\-\-inline\-source, \-S
 
106
show method source code inline, rather than via a popup link.
 
107
.TP
 
108
.fi
 
109
.B
 
110
\-\-line\-numbers, \-N
 
111
include line numbers in the source code
 
112
.TP
 
113
.fi
 
114
.B
 
115
\-\-main, \-m name
 
116
name will be the initial page displayed.
 
117
.TP
 
118
.fi
 
119
.B
 
120
\-\-merge, \-M
 
121
when creating ri output, merge processed classes into previously
 
122
documented classes of the name name.
 
123
.TP
 
124
.fi
 
125
.B
 
126
\-\-one\-file, \-1
 
127
put all the output into a single file.
 
128
.TP
 
129
.fi
 
130
.B
 
131
\-\-op, \-o dir
 
132
set the output directory.
 
133
.TP
 
134
.fi
 
135
.B
 
136
\-\-opname, \-n name
 
137
set the name of the output. Has no effect for HTML.
 
138
.TP
 
139
.fi
 
140
.B
 
141
\-\-promiscuous, \-p
 
142
When documenting a file that contains a module or class also defined in
 
143
other files, show all stuff for that module/class in each files page. By
 
144
default, only show stuff defined in that particular file.
 
145
.TP
 
146
.fi
 
147
.B
 
148
\-\-quiet, \-q
 
149
don't show progress as we parse.
 
150
.TP
 
151
.fi
 
152
.B
 
153
\-\-ri, \-r
 
154
generate output for use by 'ri.' The files are stored in the '.rdoc'
 
155
directory under your home directory unless overridden by a subsequent \-\-op
 
156
parameter, so no special privileges are needed.
 
157
.TP
 
158
.fi
 
159
.B
 
160
\-\-ri\-site, \-R
 
161
generate output for use by 'ri.' The files are stored in a site\-wide
 
162
directory, making them accessible to others, so special privileges are
 
163
needed.
 
164
.TP
 
165
.fi
 
166
.B
 
167
\-\-ri\-system, \-Y
 
168
generate output for use by 'ri.' The files are stored in a system\-level
 
169
directory, making them accessible to others, so special privileges are
 
170
needed. This option is intended to be used during Ruby installations.
 
171
.TP
 
172
.fi
 
173
.B
 
174
\-\-show\-hash, \-H
 
175
a name of the form #name in a comment is a possible hyperlink to an
 
176
instance method name. When displayed, the '#' is removed unless this
 
177
option is specified.
 
178
.TP
 
179
.fi
 
180
.B
 
181
\-\-style, \-s stylesheet\-url
 
182
specifies the URL of a separate stylesheet.
 
183
.TP
 
184
.fi
 
185
.B
 
186
\-\-tab\-width, \-w n
 
187
set the width of tab characters (default 8).
 
188
.TP
 
189
.fi
 
190
.B
 
191
\-\-template, \-T template\-name
 
192
set the template used when generating output.
 
193
.TP
 
194
.fi
 
195
.B
 
196
\-\-title, \-t text
 
197
set text as the title for the output.
 
198
.TP
 
199
.fi
 
200
.B
 
201
\-\-version, \-v
 
202
display  RDoc's version.
 
203
.TP
 
204
.fi
 
205
.B
 
206
\-\-webcvs, \-W url
 
207
specify a URL for linking to a web frontend to CVS. If the URL contains a
 
208
'%s', the name of the current file will be substituted; if the URL doesn't
 
209
contain a '%s', the filename will be appended to it.
 
210