From 1cf1b8f27307416bd80b8ad401ce1a518e691871 Mon Sep 17 00:00:00 2001 From: Thomas Aubry Date: Wed, 6 May 2026 15:59:15 +0200 Subject: [PATCH] Deploy md-docrs worker --- crates/md-docrs-worker/wrangler.toml | 7 ++++++- skills/rust-docrs-cli/SKILL.md | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/crates/md-docrs-worker/wrangler.toml b/crates/md-docrs-worker/wrangler.toml index 959d18a..3e1788f 100644 --- a/crates/md-docrs-worker/wrangler.toml +++ b/crates/md-docrs-worker/wrangler.toml @@ -1,10 +1,15 @@ name = "md-docrs-worker" main = "build/index.js" compatibility_date = "2025-04-21" +account_id = "70782ad1f3d445be5602b2d4c08f6303" +routes = [ + { pattern = "md-docrs.workedonmymachine.com", custom_domain = true }, +] [[kv_namespaces]] binding = "KRATE_KV" -id = "KRATE_KV" +id = "10f0ecf4bc0a43d0a563c32ef868eb7c" +preview_id = "6e1a1a0ab6a34aa589b8d9935d61c912" [build] command = "cargo install \"worker-build@^0.8\" && worker-build --release" diff --git a/skills/rust-docrs-cli/SKILL.md b/skills/rust-docrs-cli/SKILL.md index 3549e40..3b18317 100644 --- a/skills/rust-docrs-cli/SKILL.md +++ b/skills/rust-docrs-cli/SKILL.md @@ -1,5 +1,5 @@ --- -name: Rust docs.rs CLI +name: rust-docrs-cli description: Use this skill when you need to retrieve or summarize Rust crate or item documentation from docs.rs with the `md-docrs` CLI. Use it for crate-root lookups, item lookups, versioned lookups, target-specific lookups, and for forming the correct command. Do NOT use it for general Rust programming help, source-code editing, deployment, server workflows, Zig, WASM, or unrelated Cargo tasks. --- @@ -62,4 +62,4 @@ If `md-docrs` is not installed, use: ## Additional reference -For more examples and lookup guidance, read `references/usage.md`. \ No newline at end of file +For more examples and lookup guidance, read `references/usage.md`.