Skip to content

Commit

Permalink
fix(docs): correctly resolve href for built-ins (denoland#24228)
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed Jun 17, 2024
1 parent abc6981 commit 3419133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/tools/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ impl deno_doc::html::HrefResolver for DocResolver {
fn resolve_global_symbol(&self, symbol: &[String]) -> Option<String> {
if self.deno_ns.contains(symbol) {
Some(format!(
"https://deno.land/api@{}?s={}",
"https://deno.land/api@v{}?s={}",
env!("CARGO_PKG_VERSION"),
symbol.join(".")
))
Expand Down

0 comments on commit 3419133

Please sign in to comment.