Add a "nightly only" warning to documentation

Official documentation is now available at
https://rustwasm.github.io/docs/wasm-bindgen/, so let's leave this git
repository's documentation purely for our own previewing purposes.
This commit is contained in:
Alex Crichton
2019-03-07 07:42:47 -08:00
parent 79a8c5d27c
commit 96f4c8aa63
7 changed files with 67 additions and 11 deletions

View File

@ -1,14 +1,16 @@
# Contributing to `wasm-bindgen`
This section contains instructions on how to get this project up and running for
development.
development. You may want to browse the [unpublished guide documentation] for
`wasm-bindgen` as well as it may have more up-to-date information.
[unpublished documentation]: https://rustwasm.github.io/wasm-bindgen/
## Prerequisites
1. Rust Nightly. [Install Rust]. Once Rust is installed, run
1. Rust.[Install Rust]. Once Rust is installed, run
```shell
rustup default nightly
rustup target add wasm32-unknown-unknown
```

View File

@ -6,8 +6,8 @@ and its source lives at [`wasm-bindgen/crates/js-sys`][src]. With the `js-sys`
crate, we can work with `Object`s, `Array`s, `Function`s, `Map`s, `Set`s,
etc... without writing the `#[wasm_bindgen]` imports by hand.
Documentation for this crate will eventually be available on [docs.rs][docsrs]
but temporarily you can also check out the [master branch
Documentation for the published version of this crate is available on
[docs.rs][docsrs] but you can also check out the [master branch
documentation][masterdoc] for the crate.
[docsrs]: https://docs.rs/js-sys

View File

@ -8,3 +8,10 @@ using `wasm-bindgen`'s WebIDL frontend and the WebIDL interface definitions for
Web APIs. This means that `web-sys` isn't always the most ergonomic crate to
use, but it's intended to provide verified and correct bindings to the web
platform, and then better interfaces can be iterated on crates.io!
Documentation for the published version of this crate is available on
[docs.rs][docsrs] but you can also check out the [master branch
documentation][masterdoc] for the crate.
[docsrs]: https://docs.rs/web-sys
[masterdoc]: https://rustwasm.github.io/wasm-bindgen/api/js_sys/