docs: generate link to definition (#2656)

This commit is contained in:
Chris 2024-07-03 06:46:02 -04:00 committed by GitHub
parent c53fc67d38
commit fb5d8513ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 37 additions and 0 deletions

View file

@ -27,3 +27,6 @@ tokio = { version = "1", features = ["rt", "fs"] }
[features]
nonce = ["leptos/nonce"]
experimental-islands = ["leptos_integration_utils/experimental-islands"]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -37,3 +37,6 @@ nonce = ["leptos/nonce"]
wasm = []
default = ["tokio/fs", "tokio/sync"]
experimental-islands = ["leptos_integration_utils/experimental-islands"]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -18,3 +18,6 @@ tracing = "0.1.37"
[features]
experimental-islands = []
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -141,3 +141,6 @@ skip_feature_sets = [
"rustls",
],
]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -20,3 +20,6 @@ typed-builder = "0.18"
tokio = { version = "1", features = ["rt", "macros"] }
tempfile = "3"
temp-env = { version = "0.3.6", features = ["async_closure"] }
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -178,3 +178,6 @@ trace-component-props = []
[package.metadata.cargo-all-features]
denylist = ["nightly", "trace-component-props"]
skip_feature_sets = [["web", "ssr"]]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -51,3 +51,6 @@ axum = ["server_fn_macro/axum"]
[package.metadata.cargo-all-features]
denylist = ["nightly", "tracing", "trace-component-props"]
skip_feature_sets = [["csr", "hydrate"], ["hydrate", "csr"], ["hydrate", "ssr"]]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -121,3 +121,6 @@ skip_feature_sets = [
"rkyv",
],
]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -32,3 +32,6 @@ nightly = ["leptos_reactive/nightly"]
[package.metadata.cargo-all-features]
denylist = ["nightly"]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -29,3 +29,6 @@ nightly = ["leptos/nightly"]
[package.metadata.cargo-all-features]
denylist = ["nightly"]
skip_feature_sets = [["csr", "ssr"], ["csr", "hydrate"], ["ssr", "hydrate"]]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -78,3 +78,6 @@ nightly = ["leptos/nightly"]
# No need to test optional dependencies as they are enabled by the ssr feature
denylist = ["url", "regex", "nightly"]
skip_feature_sets = [["csr", "ssr"], ["csr", "hydrate"], ["ssr", "hydrate"]]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

View file

@ -111,6 +111,7 @@ ssr = ["inventory"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
# disables some feature combos for testing in CI
[package.metadata.cargo-all-features]

View file

@ -22,3 +22,6 @@ ssr = []
actix = []
axum = []
reqwest = []
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]