This method is deprecated or moved on the latest stable version.
The last existing version (v1_8_7_330) is shown here.
gen_main_index()
private
The main index page is mostly a template frameset, but includes the initial
page. If the --main option was given, we use this as our main
page, otherwise we use the first file specified on the command line.
# File lib/rdoc/generators/html_generator.rb, line 1345
def gen_main_index
template = TemplatePage.new(RDoc::Page::INDEX)
File.open("index.html", "w") do |f|
values = {
"initial_page" => main_url,
'title' => CGI.escapeHTML(@options.title),
'charset' => @options.charset
}
if @options.inline_source
values['inline_source'] = true
end
template.write_html_on(f, values)
end
end