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

NAME

detroit-yard - generate yard api documentation via detroit

DESCRIPTION

The YARD plug-in for Detroit utilizes the yard documentation tool to generate API documentation for a project. It will also generate yri documentation files.

OPTIONS

The following options can be used in the Detroit assembly file to define a YARD service.

EXAMPLES

Usually .yardopts is used, in which case the simplest entry would be:

yard:
  priority: 1

We set the priority lower than the default (highest is 0) in case some other documentation tool generates files that should be included in the YARD docs.

A more complex example might look like:

yard:
  title: MyApp API
  readme: INTRO.rdoc
  include:
     - lib
  docs:
     - [A-Z]*.*
  ignore: 
    - '*.yml'
  output: site/api
  priority: 1

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

RESOURCES

Copyright (c) 2010 Thomas Sawyer, Rubyworks

Detroit YARD is distributable in accordance with the GPL v.3 license.

SEE ALSO

detroit(1), yard(1)

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