Add YARD plugin

A simple file that registers the parser and handlers with YARD.
This commit is contained in:
Charlie Sharpsteen 2014-05-22 23:46:07 -07:00
parent c56bc426be
commit 545a8a0c5e
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
require_relative 'parser'
require_relative 'handlers'
YARD::Parser::SourceParser.register_parser_type(:puppet,
Puppetx::Yardoc::YARD::PuppetParser,
['pp'])
YARD::Handlers::Processor.register_handler_namespace(:puppet,
Puppetx::Yardoc::YARD::Handlers)