mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
Drop the trailing "/" in docs sidebar links
This commit is contained in:
parent
c36393bdec
commit
7737aac810
1 changed files with 1 additions and 2 deletions
|
@ -138,8 +138,7 @@ pub fn generate_docs_html(filenames: Vec<PathBuf>) {
|
|||
}
|
||||
|
||||
fn sidebar_link_url(module: &ModuleDocumentation) -> String {
|
||||
let url = format!("{}{}/", base_url(), module.name.as_str());
|
||||
url
|
||||
format!("{}{}", base_url(), module.name.as_str())
|
||||
}
|
||||
|
||||
fn page_title(package: &Documentation, module: &ModuleDocumentation) -> String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue