mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -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> {
|
fn resolve_global_symbol(&self, symbol: &[String]) -> Option<String> {
|
||||||
if self.deno_ns.contains(symbol) {
|
if self.deno_ns.contains(symbol) {
|
||||||
Some(format!(
|
Some(format!(
|
||||||
"https://deno.land/api@{}?s={}",
|
"https://deno.land/api@v{}?s={}",
|
||||||
env!("CARGO_PKG_VERSION"),
|
env!("CARGO_PKG_VERSION"),
|
||||||
symbol.join(".")
|
symbol.join(".")
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in a new issue