~ubuntu-branches/ubuntu/precise/ruby1.9.1/precise-proposed

« back to all changes in this revision

Viewing changes to debian/rdoc1.9.1.rd

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