Ruby Generators::HTMLGenerator Functions

EditRocket provides the following information on Generators::HTMLGenerator functions in the Ruby source code builder.

for(options) - Generators may need to return specific subclasses depending on the options they are passed. Because of this we create them using a factory

gen_url(path, target) - convert a target url to one that is relative to a given path

generate(toplevels) - Build the initial indices and output objects based on an array of TopLevel objects containing the extracted information.

new(options) - Set up a new HTML generator. Basically all we do here is load up the correct output temlate