Function generate_index

Source
pub fn generate_index(file_names: &[String]) -> String
Expand description

Generates the index HTML file that lists all pages

§Arguments

  • file_names - A slice of String containing the names of the markdown files.

§Returns

Returns a String containing the generated HTML for the index page.