From 1aadb5bf7bcafce571842a26482ee2ec8b7e141c Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Tue, 3 Dec 2024 13:07:15 -0800 Subject: [PATCH] Regenerate documentation --- docs/src/rust_wasm_bindgen.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/src/rust_wasm_bindgen.md b/docs/src/rust_wasm_bindgen.md index 8fc0a1cd29..0c0c29b265 100644 --- a/docs/src/rust_wasm_bindgen.md +++ b/docs/src/rust_wasm_bindgen.md @@ -4,6 +4,11 @@ Bazel rules for generating wasm modules for Javascript using [wasm-bindgen][wb]. +## Rules + +- [rust_wasm_bindgen](#rust_wasm_bindgen) +- [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain) + ## Setup To begin using the `wasm-bindgen` rules, users can load the necessary dependencies @@ -24,7 +29,7 @@ should avoid calling `rust_wasm_bindgen_register_toolchains` and instead use the [rust_wasm_bindgen_toolchain](#rust_wasm_bindgen_toolchain) rule to define their own toolchains to register in the workspace. -### Interfacing with Javascript rules +## Interfacing with Javascript rules While it's recommended for users to mantain their own , in the `@rules_rust_wasm_bindgen` package there exists interface sub-packages for various @@ -128,3 +133,5 @@ Info about wasm-bindgen outputs. | js | Depset[File]: The Javascript files produced by `wasm-bindgen`. | | ts | Depset[File]: The Typescript files produced by `wasm-bindgen`. | | wasm | File: The `.wasm` file generated by `wasm-bindgen`. | + +