Don't link to .html files anymore

We now generate index.html files, so the .html
suffix is no longer needed!
This commit is contained in:
Richard Feldman 2021-06-06 09:59:46 -04:00
parent 3dca94ab73
commit 18be90649e

View File

@ -229,7 +229,6 @@ fn render_sidebar<'a, I: Iterator<Item = &'a ModuleDocumentation>>(modules: I) -
let href = {
let mut href_buf = String::new();
href_buf.push_str(name);
href_buf.push_str(".html");
href_buf
};
@ -568,7 +567,7 @@ fn make_doc_link(scope: &mut Scope, interns: &Interns, doc_item: &str) -> String
let mut link = String::new();
link.push_str(module_str);
link.push_str(".html#");
link.push_str("#");
link.push_str(ident_str);
let mut buf = String::new();