Skip to content

Commit d8117a8

Browse files
ursisterbtwctron
authored andcommitted
docs: fix typos in documentation
Fix various typos found across documentation files: - CONTRIBUTING.md: "regenate" → "regenerate" - README.md: "form your local" → "from your local" - guide/src/assets/index.md: "avalid" → "a valid", "an may" → "and may" - guide/src/advanced/javascript_interop.md: "wasm-bingen" → "wasm-bindgen"
1 parent 8c4fcac commit d8117a8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Just a few simple items to keep in mind as you hack.
77

88
- Pull request early and often. This helps to let others know what you are working on. **Please use GitHub's Draft PR mechanism** if your PR is not yet ready for review.
99
- Use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/), a changelog will automatically be created from such commits
10-
- When making changes to the configuration, be sure to regenate the schema. This can be done by running:
10+
- When making changes to the configuration, be sure to regenerate the schema. This can be done by running:
1111

1212
```shell
1313
cargo run -- config generate-schema schemas/config.json

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Head on over to the [Trunk website](https://trunkrs.dev), everything you need is
2727
- `cargo binstall trunk` (installing a pre-compiled binary using [cargo-binstall](https://github.com/cargo-bins/cargo-binstall))
2828
- `cargo install trunk --locked` (compile your own binary from crates.io)
2929
- `cargo install --git https://github.com/trunk-rs/trunk trunk` (compile your own binary from the most recent git commit)
30-
- `cargo install --path . trunk` (compile your own binary form your local source)
30+
- `cargo install --path . trunk` (compile your own binary from your local source)
3131
- `brew install trunk` (installing from [Homebrew](https://brew.sh/))
3232
- `nix-shell -p trunk` (installing from [nix packages](https://nixos.org/))
3333
- [App Setup](https://trunkrs.dev//#app-setup)

guide/src/advanced/javascript_interop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Trunk will create the necessary JavaScript code to bootstrap and run the WebAssembly based application. It will also
44
include all JavaScript snippets generated by `wasm-bindgen` for interfacing with JavaScript functionality.
55

6-
By default, functions exported from Rust, using `wasm-bingen`, can be accessed in the JavaScript code through the global
6+
By default, functions exported from Rust, using `wasm-bindgen`, can be accessed in the JavaScript code through the global
77
variable `window.wasmBindings`. This behavior can be disabled, and the name can be customized. For more information
88
see the [`rust` asset type](../assets/index.md#rust).
99

guide/src/assets/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Classic script assets processed by Trunk must follow these three rules:
112112

113113
```admonish attention
114114
A *valid* HTML `script` tag always has an end tag (like `<script></script>`). A self-closing script tag
115-
(like `<script />`) is **not** avalid HTML script tag and will trigger a warning an may create a non-working HTML file.
115+
(like `<script />`) is **not** a valid HTML script tag and will trigger a warning and may create a non-working HTML file.
116116
```
117117

118118
This will typically look like: `<script data-trunk src="{path}" ..other options here..></script>`. All `<script data-trunk ...></script>` HTML elements will be replaced with the output HTML of the associated pipeline.

0 commit comments

Comments
 (0)