mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
chore: update deno_doc (#23621)
This commit is contained in:
parent
641356bb16
commit
544d248c16
3 changed files with 5 additions and 6 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1380,9 +1380,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "deno_doc"
|
||||
version = "0.128.1"
|
||||
version = "0.129.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5f78697e36d3ecc0c0922fdb65853a225fc568e0e6099a935635af32701cee38"
|
||||
checksum = "38dc17660505a70f007a71d1550e2357662ca2083f9136eedcd53ccbac7537a6"
|
||||
dependencies = [
|
||||
"ammonia",
|
||||
"anyhow",
|
||||
|
|
|
@ -67,7 +67,7 @@ deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "proposa
|
|||
deno_cache_dir = { workspace = true }
|
||||
deno_config = "=0.16.3"
|
||||
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
||||
deno_doc = { version = "=0.128.1", features = ["html", "syntect"] }
|
||||
deno_doc = { version = "=0.129.0", features = ["html", "syntect"] }
|
||||
deno_emit = "=0.40.2"
|
||||
deno_graph = { version = "=0.74.3", features = ["tokio_executor"] }
|
||||
deno_lint = { version = "=0.58.4", features = ["docs"] }
|
||||
|
|
|
@ -169,7 +169,7 @@ pub async fn doc(flags: Flags, doc_flags: DocFlags) -> Result<(), AnyError> {
|
|||
));
|
||||
|
||||
deno_doc::html::compute_namespaced_symbols(
|
||||
deno_ns
|
||||
&deno_ns
|
||||
.into_iter()
|
||||
.map(|node| deno_doc::html::DocNodeWithContext {
|
||||
origin: short_path.clone(),
|
||||
|
@ -179,8 +179,7 @@ pub async fn doc(flags: Flags, doc_flags: DocFlags) -> Result<(), AnyError> {
|
|||
inner: std::sync::Arc::new(node),
|
||||
drilldown_parent_kind: None,
|
||||
})
|
||||
.collect(),
|
||||
&[],
|
||||
.collect::<Vec<_>>(),
|
||||
)
|
||||
} else {
|
||||
Default::default()
|
||||
|
|
Loading…
Add table
Reference in a new issue