diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3ba747b..8de00b6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,7 @@ The documentation is available on [docs.rs](https://docs.rs/proj4rs/) and the demo on [docs.3liz.org](https://docs.3liz.org/proj4rs/). -## Contributing +# Contributing ### Modify diff --git a/README.md b/README.md index 23a5690..5fd7795 100644 --- a/README.md +++ b/README.md @@ -101,4 +101,4 @@ Proj.transform(from, to, point); ## Contributing -You can contribute to this library by going on the [proj4rs](https://github.com/3liz/proj4rs/) repository +You can contribute to this library by going on the [proj4rs](./CONTRIBUTING.md) repository diff --git a/README_WASM.md b/README_WASM.md index 4e7220b..6c3da4b 100644 --- a/README_WASM.md +++ b/README_WASM.md @@ -1,6 +1,8 @@ The documentation is available on [docs.rs](https://docs.rs/proj4rs/) and the demo on [docs.3liz.org](https://docs.3liz.org/proj4rs/). +# Build locally a package + ## Compiling for WASM Install [wasm-pack](https://rustwasm.github.io/wasm-pack/book/) @@ -18,7 +20,7 @@ cargo make wasm ### Running the WASM example -There is a [`index.html`] file for testing the WASM module in a navigator. +There is a `index.html` file for testing the WASM module in a navigator. For security reasons, you need to run it from a server. You can start a Python server with the following command: @@ -32,7 +34,7 @@ The server will automatically serve the `index.html` file in the current directo ## Build for npm -``` +```bash cargo make wasm_bundle ```