diff --git a/docs/src/guide/observability.md b/docs/src/guide/observability.md index 39066c2f81d..9cec3154e82 100644 --- a/docs/src/guide/observability.md +++ b/docs/src/guide/observability.md @@ -2,8 +2,8 @@ Lance can publish operational metrics to your monitoring stack. The table below is the authoritative catalogue of the metrics Lance emits, shared verbatim with -the Rust [`lance::metrics`](https://docs.rs/lance/latest/lance/metrics/) module -documentation. +the Rust [`lance::metrics`](https://github.com/lance-format/lance/blob/main/rust/lance/src/metrics.md) +module documentation. --8<-- "rust/lance/src/metrics.md" diff --git a/docs/src/guide/tokenizer.md b/docs/src/guide/tokenizer.md index eedac585fe9..677cfa6a401 100644 --- a/docs/src/guide/tokenizer.md +++ b/docs/src/guide/tokenizer.md @@ -54,7 +54,7 @@ Create a file named config.json in the root directory of the current model. ``` - The "main" field is optional. If not filled, the default is "dict.txt". -- "users" is the path of the user dictionary. For the format of the user dictionary, please refer to https://github.com/messense/jieba-rs/blob/main/src/data/dict.txt. +- "users" is the path of the user dictionary. For the format of the user dictionary, please refer to https://github.com/messense/jieba-rs/blob/main/jieba/src/data/dict.txt. ## Language Models of Lindera diff --git a/rust/lance/Cargo.toml b/rust/lance/Cargo.toml index 762ca513a19..64253478000 100644 --- a/rust/lance/Cargo.toml +++ b/rust/lance/Cargo.toml @@ -12,7 +12,8 @@ keywords.workspace = true categories.workspace = true [package.metadata.docs.rs] -features = [] +# Publish the feature-gated metrics catalogue; keep cloud backends off. +features = ["metrics"] no-default-features = true [package.metadata.cargo-machete]