Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
How does one generate a "main page" for rdoc documentation?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Rick DeNatale, post: 4632272"] [Note: parts of this message were removed to make it a legal post.] Umm, you can include some of this via rdoc markup, e.g. from the rdoc rdoc Hyperlinks to the web starting http:, mailto:, ftp:, or www. are recognized. An HTTP url that references an external image file is converted into an inline <IMG..>. Hyperlinks starting 'link:' are assumed to refer to local files whose path is relative to the --op directory. And there are lots of options which affect what it outputs. $ rdoc --help RDoc V1.0.1 - 20041108 Usage: rdoc [options] [names...] Files are parsed, and the information they contain collected, before any output is produced. This allows cross references between all files to be resolved. If a name is a directory, it is traversed. If no names are specified, all Ruby files in the current directory (and subdirectories) are processed. Options: --accessor, -A accessorname[,..] comma separated list of additional class methods that should be treated like 'attr_reader' and friends. Option may be repeated. Each accessorname may have '=text' appended, in which case that text appears where the r/w/rw appears for normal accessors. --all, -a include all methods (not just public) in the output --charset, -c charset specifies HTML character-set --debug, -D displays lots on internal stuff --diagram, -d Generate diagrams showing modules and classes. You need dot V1.8.6 or later to use the --diagram option correctly. Dot is available from [URL]http://www.research.att.com/sw/tools/graphviz/[/URL] --exclude, -x pattern do not process files or directories matching pattern. Files given explicitly on the command line will never be excluded. --extension, -E new=old Treat files ending with .new as if they ended with .old. Using '-E cgi=rb' will cause xxx.cgi to be parsed as a Ruby file --fileboxes, -F classes are put in boxes which represents files, where these classes reside. Classes shared between more than one file are shown with list of files that sharing them. Silently discarded if --diagram is not given Experimental. --force-update, -U forces to scan all sources even if newer than the flag file. --fmt, -f format name set the output formatter (see below) --help, -h you're looking at it --help-output, -O explain the various output options --image-format, -I gif/png/jpg/jpeg Sets output image format for diagrams. Can be png, gif, jpeg, jpg. If this option is omitted, png is used. Requires --diagram. --include, -i dir[,dir...] set (or add to) the list of directories to be searched when satisfying :include: requests. Can be used more than once. --inline-source, -S Show method source code inline, rather than via a popup link --line-numbers, -N Include line numbers in the source code --main, -m name 'name' will be the initial page displayed --merge, -M when creating ri output, merge processed classes into previously documented classes of the name name --one-file, -1 put all the output into a single file --op, -o dir set the output directory --opname, -n name Set the 'name' of the output. Has no effect for HTML. --promiscuous, -p When documenting a file that contains a module or class also defined in other files, show all stuff for that module/class in each files page. By default, only show stuff defined in that particular file. --quiet, -q don't show progress as we parse --ri, -r generate output for use by 'ri.' The files are stored in the '.rdoc' directory under your home directory unless overridden by a subsequent --op parameter, so no special privileges are needed. --ri-site, -R generate output for use by 'ri.' The files are stored in a site-wide directory, making them accessible to others, so special privileges are needed. --ri-system, -Y generate output for use by 'ri.' The files are stored in a system-level directory, making them accessible to others, so special privileges are needed. This option is intended to be used during Ruby installations --show-hash, -H A name of the form #name in a comment is a possible hyperlink to an instance method name. When displayed, the '#' is removed unless this option is specified --style, -s stylesheet url specifies the URL of a separate stylesheet. --tab-width, -w n Set the width of tab characters (default 8) --template, -T template name Set the template used when generating output --title, -t text Set 'txt' as the title for the output --version, -v display RDoc's version --webcvs, -W url Specify a URL for linking to a web frontend to CVS. If the URL contains a '%s', the name of the current file will be substituted; if the URL doesn't contain a '%s', the filename will be appended to it. Available output formatters: chm, html, ri, xml For information on where the output goes, use rdoc --help-output -- Rick DeNatale Blog: [URL]http://talklikeaduck.denhaven2.com/[/URL] Twitter: [URL]http://twitter.com/RickDeNatale[/URL] WWR: [URL]http://www.workingwithrails.com/person/9021-rick-denatale[/URL] LinkedIn: [URL]http://www.linkedin.com/in/rickdenatale[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
How does one generate a "main page" for rdoc documentation?
Top