mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Links to different modules require relative href
This commit is contained in:
parent
9801de6be4
commit
6d00171cd7
1 changed files with 1 additions and 0 deletions
|
@ -247,6 +247,7 @@ fn render_sidebar<'a, I: Iterator<Item = &'a ModuleDocumentation>>(modules: I) -
|
|||
|
||||
let href = {
|
||||
let mut href_buf = String::new();
|
||||
href_buf.push('/');
|
||||
href_buf.push_str(name);
|
||||
href_buf
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue