From 693b6687f4504c9e7ed0871ed4ced76530639db2 Mon Sep 17 00:00:00 2001 From: Will Killian Date: Tue, 16 Jun 2026 16:02:39 -0400 Subject: [PATCH] docs: include PII redaction Rust API reference Signed-off-by: Will Killian --- scripts/docs/fern_cleanup.py | 6 +++--- scripts/docs/generate_rust_library_reference.py | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/scripts/docs/fern_cleanup.py b/scripts/docs/fern_cleanup.py index 2a44d94f..28d1b013 100644 --- a/scripts/docs/fern_cleanup.py +++ b/scripts/docs/fern_cleanup.py @@ -30,9 +30,9 @@ "[Node.js Library Reference](/reference/api/nodejs-library-reference), and\n" "[Rust Library Reference](/reference/api/rust-library-reference) for generated\n" "symbol-level documentation. The Rust reference includes `nemo-relay`,\n" - "`nemo-relay-adaptive`, and `nemo-relay-ffi`. For Go and WebAssembly surfaces, use\n" - "the source directories, tests, and task-focused guides when you need exact\n" - "behavior." + "`nemo-relay-adaptive`, `nemo-relay-pii-redaction`, and `nemo-relay-ffi`.\n" + "For Go and WebAssembly surfaces, use the source directories, tests, and\n" + "task-focused guides when you need exact behavior." ) ASSISTANT_SYMBOL_REFERENCE_TEXT = ( "For symbol-level work, assistants should use the source directories, tests, and\n" diff --git a/scripts/docs/generate_rust_library_reference.py b/scripts/docs/generate_rust_library_reference.py index 2a2b398c..03565570 100644 --- a/scripts/docs/generate_rust_library_reference.py +++ b/scripts/docs/generate_rust_library_reference.py @@ -23,10 +23,14 @@ CRATES = ( ("nemo-relay", "nemo_relay", "Core Rust runtime APIs for NeMo Relay."), ("nemo-relay-adaptive", "nemo_relay_adaptive", "Adaptive runtime primitives and plugin components."), + ("nemo-relay-pii-redaction", "nemo_relay_pii_redaction", "PII redaction plugin components for NeMo Relay."), ("nemo-relay-ffi", "nemo_relay_ffi", "C-compatible FFI surface for NeMo Relay."), ) BASE_URL = "/reference/api/rust-library-reference" -GENERATED_BY = "Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi`." +GENERATED_BY = ( + "Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive " + "-p nemo-relay-pii-redaction -p nemo-relay-ffi`." +) TRANSLATION_TABLE = str.maketrans( { "\xa0": " ", @@ -157,6 +161,8 @@ def _run_cargo_doc(repo_root: Path) -> None: "-p", "nemo-relay-adaptive", "-p", + "nemo-relay-pii-redaction", + "-p", "nemo-relay-ffi", ], cwd=repo_root,