diff --git a/lib/puppetx/yardoc/yard/plugin.rb b/lib/puppetx/yardoc/yard/plugin.rb new file mode 100644 index 0000000..adcde12 --- /dev/null +++ b/lib/puppetx/yardoc/yard/plugin.rb @@ -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)