Skip to content

Commit 1f670b9

Browse files
fix: broken links reported as warnings by mdbook (#338)
* Fix broken links reported as warnings by mdbook * chore: remove unused link --------- Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
1 parent d007e92 commit 1f670b9

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

component-model/src/creating-runnable-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ wasmtime run --invoke 'add(1, 2)' add.component.wasm
2727
Wasmtime contains code that can generically interpret exports, convert arguments to WebAssembly arguments, and execute
2828
an existing component dynamically.
2929

30-
[example-host](https://github.com/bytecodealliance/component-docs/blob/main/component-model/examples/example-host/README.md)
30+
[example-host]: https://github.com/bytecodealliance/component-docs/blob/main/component-model/examples/example-host/
3131

3232
## Creating components that behave like binaries
3333

@@ -38,7 +38,7 @@ At a high level there are at least two ways to create components that are more l
3838
(i.e. that are easy to run from a tool like `wasmtime run`):
3939

4040
1. Creating a "command" component
41-
2. Exporting the [`wasi:cli/run` interface][wasi-cli-run]
41+
2. Exporting the [`wasi:cli/run` interface][wasi-cli-iface-run]
4242

4343
While command components simply have a `_start` export, components that export the [`wasi:cli/run` run interface][wasi-cli-iface-run]
4444
are able to make use of more robust standardized interfaces that mimic a CLI environment like stdout, stderr, via WASI.

component-model/src/language-support/building-a-simple-component/javascript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ With `jco transpile`, any WebAssembly binary (compiled from any language) can be
292292
[jco-example]: https://github.com/bytecodealliance/jco/tree/main/examples/components/adder
293293
[wasm-core-module]: https://webassembly.github.io/spec/core/binary/modules.html
294294
[core-wasm]: https://webassembly.github.io/spec/core/
295+
[ts-decl-file]: https://www.typescriptlang.org/docs/handbook/declaration-files/deep-dive.html#declaration-file-theory-a-deep-dive
295296

296297
[!TIP]: #
297298
[!NOTE]: #

component-model/src/language-support/importing-and-reusing-components/javascript.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,12 @@ With the help of `jco`, we have:
306306
- Converted the compiled WebAssembly module (which could be from *any* language) to a module that can be used from any compliant JS runtime (`jco transpile`)
307307
- Run the transpiled WebAssembly component from a JavaScript native runtime (NodeJS)
308308

309-
[repo]: https://github.com/bytecodealliance/component-docs
309+
[docs-wit]: ../../design/wit.md
310310
[jco-examples-string-reverse]: https://github.com/bytecodealliance/jco/tree/main/examples/components/string-reverse
311-
[ts-decl-file]: https://www.typescriptlang.org/docs/handbook/declaration-files/deep-dive.html#declaration-file-theory-a-deep-dive
312311
[string-reverse-package-json]: https://github.com/bytecodealliance/jco/blob/main/examples/components/string-reverse/package.json#L6
312+
[ts-decl-file]: https://www.typescriptlang.org/docs/handbook/declaration-files/deep-dive.html#declaration-file-theory-a-deep-dive
313+
[wasi]: https://wasi.dev/
314+
315+
[!NOTE]: #
316+
[!TIP]: #
317+
[!WARNING]: #

component-model/src/language-support/using-http-in-components/rust.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,6 @@ Explore more examples of projects that use `wstd`:
121121
- [An example `wasi:http` server component](https://github.com/bytecodealliance/sample-wasi-http-rust)
122122
- [Various examples of using wstd](https://github.com/bytecodealliance/wstd/tree/main/examples)
123123
- [Examples of using wstd with Axum](https://github.com/bytecodealliance/wstd/tree/main/axum/examples)
124+
125+
126+
[!NOTE]: #

0 commit comments

Comments
 (0)