Skip to content

Commit

Permalink
chore: update deno_doc (#22174)
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed Jan 31, 2024
1 parent a82eb3f commit b91ae88
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 119 deletions.
166 changes: 52 additions & 114 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 57,7 @@ deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "dep_gra
deno_cache_dir = "=0.6.1"
deno_config = "=0.9.1"
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_doc = { version = "=0.94.1", features = ["html"] }
deno_doc = { version = "=0.98.0", features = ["html"] }
deno_emit = "=0.34.0"
deno_graph = "=0.63.6"
deno_lint = { version = "=0.55.0", features = ["docs"] }
Expand Down
8 changes: 4 additions & 4 deletions cli/tools/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 224,12 @@ impl deno_doc::html::HrefResolver for DocResolver {
&self,
_current_specifier: &ModuleSpecifier,
current_file: &str,
) -> String {
current_file.to_string()
) -> Option<String> {
Some(current_file.to_string())
}

fn resolve_source(&self, location: &deno_doc::Location) -> String {
location.filename.clone()
fn resolve_source(&self, location: &deno_doc::Location) -> Option<String> {
Some(location.filename.clone())
}
}

Expand Down

0 comments on commit b91ae88

Please sign in to comment.