Parent

Methods

Class Index [+]

Quicksearch

Webgen::ContentProcessor::RDoc

Converts content in RDoc markup (the native Ruby documentation format) to HTML. Needs the newer RDoc implementation provided as rdoc gem!

Public Instance Methods

call(context) click to toggle source

Convert the content in RDoc markup to HTML.

    # File lib/webgen/contentprocessor/rdoc.rb, line 10
10:     def call(context)
11:       require 'rdoc/markup/to_html'
12:       context.content = ::RDoc::Markup::ToHtml.new.convert(context.content)
13:       context
14:     rescue LoadError
15:       raise Webgen::LoadError.new('rdoc/markup/to_html', self.class.name, context.dest_node, 'rdoc')
16:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.