mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
Fix prefetch links in the Standard Library page
This commit is contained in:
parent
940be28ef0
commit
5ccd3c884d
1 changed files with 2 additions and 4 deletions
|
@ -134,10 +134,8 @@ pub fn generate_docs_html(filenames: Vec<PathBuf>) {
|
|||
}
|
||||
|
||||
fn sidebar_link_url(module: &ModuleDocumentation) -> String {
|
||||
let mut href_buf = base_url();
|
||||
href_buf.push_str(module.name.as_str());
|
||||
|
||||
href_buf
|
||||
let url = format!("{baseUrl}{moduleName}/", baseUrl = base_url(), moduleName = module.name.as_str());
|
||||
url
|
||||
}
|
||||
|
||||
// converts plain-text code to highlighted html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue