mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix(docs): correctly resolve href for built-ins (#24228)
This commit is contained in:
parent
abc6981468
commit
341913319c
1 changed files with 1 additions and 1 deletions
|
@ -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(".")
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue