mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
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:
parent
3dca94ab73
commit
18be90649e
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue