func render_index_page_with_symbols(
package: String,
modules: &[ModuleLink],
symbols: &[SymbolLink]
) -> String
View Source
pub func render_index_page_with_symbols(
package: String,
modules: &[ModuleLink],
symbols: &[SymbolLink]
) -> String {
let header = PreEscaped(value: index_header(package: package.clone()))
let shell = PreEscaped(
value: index_shell(package: package.clone(), modules: modules, symbols: symbols)
)
let content = @html { main class="site-page" { (header) (shell) } }
page_html(title: package, content: content.into_string())
}