class RDoc::Servlet

def generator_for store

def generator_for store
  generator = RDoc::Generator::Darkfish.new store, @options
  generator.file_output = false
  generator.asset_rel_path = '..'
  rdoc = RDoc::RDoc.new
  rdoc.store     = store
  rdoc.generator = generator
  rdoc.options   = @options
  @options.main_page = store.main
  @options.title     = store.title
  generator
end