mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
fix(docs): correctly resolve href for built-ins (#24228)
This commit is contained in:
parent
bff235a8ec
commit
10828cd62c
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