Skip to content

Commit

Permalink
Fix broken links in examples (#2252)
Browse files Browse the repository at this point in the history
* Fix broken links in examples

* Fix broken links in examples

* Fix broken links in examples

* Fix broken links in examples

* Fix broken links in examples

* Fix broken links in examples
  • Loading branch information
jetli authored Dec 8, 2021
1 parent 63eb95c commit d2857c9
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ As an example, check out the TodoMVC example here: <https://examples.yew.rs/todo
| [mount_point](mount_point) | Shows how to mount the root component to a custom element |
| [multi_thread](multi_thread) | Demonstrates the use of Web Workers to offload computation to the background |
| [nested_list](nested_list) | Renders a styled list which tracks hover events |
| [node_refs](node_refs) | Uses a [`NodeRef`](https://yew.rs/concepts/components/refs) to focus the input element under the cursor |
| [node_refs](node_refs) | Uses a [`NodeRef`](https://yew.rs/docs/concepts/components/refs) to focus the input element under the cursor |
| [password_strength](password_strength) | A password strength estimator implemented in Yew |
| [pub_sub](pub_sub) | Cross-component communication using [Agents](https://yew.rs/concepts/agents) |
| [pub_sub](pub_sub) | Cross-component communication using [Agents](https://yew.rs/docs/concepts/agents) |
| [router](router) | The best yew blog built with `yew-router` |
| [store](store) | Showcases the `yewtil::store` API |
| [timer](timer) | Demonstrates the use of the interval and timeout services |
Expand All @@ -53,7 +53,7 @@ As an example, check out the TodoMVC example here: <https://examples.yew.rs/todo

## Next steps

Have a look at Yew's [starter templates](https://yew.rs/getting-started/starter-templates) when starting a project using Yew – they can significantly simplify things.
Have a look at Yew's [starter templates](https://yew.rs/docs/getting-started/starter-templates) when starting a project using Yew – they can significantly simplify things.

## Help out

Expand Down
2 changes: 1 addition & 1 deletion examples/multi_thread/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ There is an alternate multi-thread example [here](https://github.com/yewstack/ye

Uses an [Agent] that runs in a [Web Worker].

[agent]: https://yew.rs/concepts/agents/
[agent]: https://yew.rs/docs/concepts/agents/
[web worker]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers
2 changes: 1 addition & 1 deletion examples/node_refs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This example shows two input fields which are automatically focused when hovered

## Concepts

The example uses [Refs](https://yew.rs/concepts/components/refs/) to
The example uses [Refs](https://yew.rs/docs/concepts/components/refs/) to
manipulate the underlying DOM element directly.

## Improvements
Expand Down
2 changes: 1 addition & 1 deletion examples/router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For example, our demo is hosted at [/router](https://examples.yew.rs/router).

This is achieved by adding `<base data-trunk-public-url />` to the [index.html](index.html) file.
Trunk rewrites this tag to contain the value passed to `--public-url` which can then be retrieved at runtime.
Take a look at [`PublicUrlSwitch`](src/switch.rs) for the implementation.
Take a look at [`Route`](src/main.rs) for the implementation.

## Improvements

Expand Down
2 changes: 1 addition & 1 deletion examples/todomvc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ including: all entries, entered text and chosen filter.
- Use `yew-router` for the hash based routing
- Clean up the code

[`refs`]: https://yew.rs/concepts/components/refs/
[`refs`]: https://yew.rs/docs/concepts/components/refs/
2 changes: 1 addition & 1 deletion examples/webgl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ a render loop, and draw to the canvas with basic shaders using `web-sys`.

## Concepts

- Accessing a DOM element using `NodeRef`.
- Accessing a DOM element using [`NodeRef`](https://yew.rs/docs/concepts/components/refs/).
- Using Javascript APIs with `web-sys`.

## Improvements
Expand Down

0 comments on commit d2857c9

Please sign in to comment.