1. detroit-rdoc(5)
  2. detroit-rdoc(5)

NAME

detroit-rdoc - generate rdoc api documentation via detroit

DESCRIPTION

The RDoc plug-in for Detroit utilizes the rdoc documentation tool to generate API documentation for a project. It can also be used to generate ri documentation file.

This plug-in package also includes detroit-ri(5).

OPTIONS

The following options can be used in the Detroit assembly file to define an RDoc service.

EXAMPLES

Option defaults are fairly typical. So the simplest entry is something like:

rdoc:
  output: doc/

A more complex example might look like:

rdoc:
  title: MyApp API
  include:
     - lib
     - [A-Z]*.*
  ignore: 
    - '*.yml'
  output: site/api
  main: INTRO.rdoc
  format: hanna

The above examples use the YAML-base assembly format. Assembly files can also be Ruby-based. See Detroit documentation for more details.

RESOURCES

For more information:

Copyright (c) 2010 Thomas Sawyer, Rubyworks

Detroit RDoc is distributable in accordance with the GPLv3 license.

SEE ALSO

detroit(1), rdoc(1), detroit-ri(5)

  1. October 2011
  2. detroit-rdoc(5)