-
-
Notifications
You must be signed in to change notification settings - Fork 461
Crate documentation lists rand_wasm_bindgen_test crate #913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This does not happen on docs.rs, so it seems to be specific to the way we build the docs. Maybe we can exclude that crate or do something like the following: diff --git a/tests/wasm_bindgen/src/lib.rs b/tests/wasm_bindgen/src/lib.rs
index 9af0b9e..6afe76f 100644
--- a/tests/wasm_bindgen/src/lib.rs
+++ b/tests/wasm_bindgen/src/lib.rs
@@ -8,7 +8,7 @@
// Crate to test WASM with the `wasm-bindgen` lib.
-#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png")]
+#![doc(hidden)]
use rand::rngs::{OsRng, StdRng};
use rand::{Rng, SeedableRng}; |
We can try that @vks. Care to make a PR? |
It seems like we would have to replace |
If we do this, we should maybe add some documentation that the module is internal and for tests only. |
"test" is in the name already. But if you prefer we can get rid of this. It's largely redundant with |
I don't see |
In the documentation at https://rust-random.github.io/rand/rand/index.html, the list of crates in the left sidebar includes the crate
rand_wasm_bindgen_test
, which doesn't seem to have anything of interest to users. This crate should probably be marked to be excluded from the documentation.The text was updated successfully, but these errors were encountered: