Skip to content
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

doc(example) Add white background and reduce diagram sizes #2041

Merged
merged 5 commits into from
Jan 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [#2026](https://github.com/wasmerio/wasmer/pull/2010) Expose trap code of a `RuntimeError`, if it's a `Trap`.

### Changed
- [#2041](https://github.com/wasmerio/wasmer/pull/2041) Documentation diagrams now have a solid white background rather than a transparent background.

### Fixed

Expand Down
Binary file modified assets/diagrams/Diagram_module_compilation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/diagrams/Diagram_module_instantiation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/diagrams/Diagram_module_serialization.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ example.
3. [**Handling errors**][errors], explains the basics of interacting with
Wasm module memory.

_Keywords_: memory, module.
_Keywords_: instance, error.

<details>
<summary><em>Execute the example</em></summary>

```shell
$ cargo run --example memory --release --features "cranelift"
$ cargo run --example errors --release --features "cranelift"
```

</details>
Expand Down Expand Up @@ -204,7 +204,7 @@ example.

### Tunables

1. **Limit memory**, explains how to use Tunables to limit the
1. [**Limit memory**][tunables-limit-memory], explains how to use Tunables to limit the
size of an exported Wasm memory

_Keywords_: basic, tunables, memory
Expand Down Expand Up @@ -360,6 +360,7 @@ example.

</details>

[hello-world]: ./hello_world.rs
[engine-jit]: ./engine_jit.rs
[engine-native]: ./engine_native.rs
[engine-headless]: ./engine_headless.rs
Expand All @@ -377,6 +378,8 @@ example.
[wasi-pipes]: ./wasi_pipes.rs
[table]: ./table.rs
[memory]: ./memory.rs
[errors]: ./errors.rs
[tunables-limit-memory]: ./tunables_limit_memory.rs
[`wasmer-compiler-singlepass`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-singlepass
[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift
[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm
Expand Down