Flowdock

Encapsulate the production of rdoc documentation. Basically you can use this as you would invoke rdoc from the command line:

rdoc = RDoc::RDoc.new
rdoc.document(args)

Where args is an array of strings, each corresponding to an argument you’d give rdoc on the command line. See <tt>rdoc –help for details.

Plugins

When you require 'rdoc/rdoc' RDoc looks for ‘rdoc/discover’ files in your installed gems. This can be used to load alternate generators or add additional preprocessor directives.

You will want to wrap your plugin loading in an RDoc version check. Something like:

begin
  gem 'rdoc', '~> 3'
  require 'path/to/my/awesome/rdoc/plugin'
rescue Gem::LoadError
end

The most obvious plugin type is a new output generator. See RDoc::Generator for details.

You can also hook into RDoc::Markup to add new directives (:nodoc: is a directive). See RDoc::Markup::PreProcess::register for details.

Constants

GENERATORS = {}

Attributes

[R] stats

Accessor for statistics. Available after each call to parse_files

[RW] options

RDoc options

[R] last_modified

Hash of files and their last modified times.

[RW] generator

Generator instance used for creating output

[RW] exclude

File pattern to exclude

Show files where this class is defined (1 file)
Register or log in to add new notes.