diff options
| author | Leo Kettmeir <crowlkats@toaxl.com> | 2024-01-31 18:34:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-31 17:34:15 +0000 |
| commit | b91ae888601f3c6602ceb9ec083ac252d06e64ce (patch) | |
| tree | 455ef84f7cf31769afe968882c33f12a0411b0ea /cli | |
| parent | a82eb3fb3d073c9dd99748883d2cd98ff4a38903 (diff) | |
chore: update deno_doc (#22174)
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/Cargo.toml | 2 | ||||
| -rw-r--r-- | cli/tools/doc.rs | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml index a897b4ca6..fba54c85b 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -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"] } diff --git a/cli/tools/doc.rs b/cli/tools/doc.rs index f14d6f5f5..acea65062 100644 --- a/cli/tools/doc.rs +++ b/cli/tools/doc.rs @@ -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()) } } |
