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

Update some docs.rs references to /latest/ #689

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions content/blog/2018-03-timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ And with that, have a great weekend!
[new release]: https://crates.io/crates/tokio/0.1.5
[wheel]: http://www.cs.columbia.edu/~nahum/w6998/papers/sosp87-timing-wheels.pdf
[2]: https://crates.io/crates/tokio-timer/0.2.0
[delay]: https://docs.rs/tokio/0.1/tokio/timer/struct.Delay.html
[timeout]: https://docs.rs/tokio/0.1/tokio/timer/struct.Timeout.html
[interval]: https://docs.rs/tokio/0.1/tokio/timer/struct.Interval.html
[delay]: https://docs.rs/tokio/latest/tokio/timer/struct.Delay.html
[timeout]: https://docs.rs/tokio/latest/tokio/timer/struct.Timeout.html
[interval]: https://docs.rs/tokio/latest/tokio/timer/struct.Interval.html
Comment on lines -120 to +122
Copy link
Contributor

@Darksonn Darksonn Jan 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks the links. There's no timer module in the latest Tokio release, and the blog posts are about the 0.1 version specifically. If possible, I would prefer to add rel="nofollow" to the links instead. You might need to use html tags in the markdown to do that.


[api]: https://docs.rs/tokio/0.1/tokio/timer/index.html
[runtime]: https://docs.rs/tokio/0.1/tokio/runtime/index.html
[api]: https://docs.rs/tokio/latest/tokio/timer/index.html
[runtime]: https://docs.rs/tokio/latest/tokio/runtime/index.html
12 changes: 6 additions & 6 deletions content/blog/2018-05-tokio-fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ The release also includes a ["current thread"][rt] version of the runtime
but runs all components on the current thread. This allows running futures that
do not implement `Send`.

[fs]: https://docs.rs/tokio/0.1/tokio/fs/index.html
[`file`]: https://docs.rs/tokio/0.1/tokio/fs/struct.File.html
[in]: https://docs.rs/tokio/0.1/tokio/io/fn.stdin.html
[out]: https://docs.rs/tokio/0.1/tokio/io/fn.stdout.html
[`blocking`]: https://docs.rs/tokio-threadpool/0.1/tokio_threadpool/fn.blocking.html
[rt]: https://docs.rs/tokio/0.1/tokio/runtime/current_thread/index.html
[fs]: https://docs.rs/tokio/latest/tokio/fs/index.html
[`file`]: https://docs.rs/tokio/latest/tokio/fs/struct.File.html
[in]: https://docs.rs/tokio/latest/tokio/io/fn.stdin.html
[out]: https://docs.rs/tokio/latest/tokio/io/fn.stdout.html
[`blocking`]: https://docs.rs/tokio-threadpool/latest/tokio_threadpool/fn.blocking.html
[rt]: https://docs.rs/tokio/latest/tokio/runtime/current_thread/index.html
2 changes: 1 addition & 1 deletion content/blog/2018-08-incremental-improvements.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ review and improve the crate.
Thanks goes to: [@dekellum], [@matsadler], [@debris], [@mati865], [@lovebug356],
[@bryanburgers], [@shepmaster].

[fs]: https://docs.rs/tokio/0.1.8/tokio/fs/index.html
[fs]: https://docs.rs/tokio/latest/tokio/fs/index.html
[pr]: https://github.com/tokio-rs/tokio/pull/494

## Concurrency improvements
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2019-12-compat.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ considered idle. See [this section][idle] in the documentation for details.
[blocking]: https://docs.rs/tokio-threadpool/0.1.16/tokio_threadpool/fn.blocking.html
[`task::block_in_place`]: https://docs.rs/tokio/0.2.4/tokio/task/fn.block_in_place.html
[`task::spawn_blocking`]: https://docs.rs/tokio/0.2.4/tokio/task/fn.spawn_blocking.html
[`tokio::fs`]: https://docs.rs/tokio/0.1.22/tokio/fs/index.html
[`tokio::fs`]: https://docs.rs/tokio/latest/tokio/fs/index.html
[blocking-compat]: https://docs.rs/tokio-compat/0.1.0/tokio_compat/runtime/index.html#blocking
[idle]: https://docs.rs/tokio-compat/0.1.0/tokio_compat/runtime/index.html#shutting-down

Expand Down