Skip to content

Commit

Permalink
chore: add Netlify doc previews (#4699)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbarsky authored May 19, 2022
1 parent 0b8a3c3 commit 3fce06c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[build]
command = """
rustup install nightly --profile minimal && cargo doc --no-deps --all-features
"""
publish = "target/doc"

[build.environment]
RUSTDOCFLAGS="""
--cfg docsrs \
--cfg tokio_unstable \
"""
RUSTFLAGS="--cfg tokio_unstable --cfg docsrs"

[[redirects]]
from = "/"
to = "/tokio"
2 changes: 1 addition & 1 deletion tokio/src/macros/join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// for **all** branches complete regardless if any complete with `Err`. Use
/// [`try_join!`] to return early when `Err` is encountered.
///
/// [`try_join!`]: macro@try_join
/// [`try_join!`]: crate::try_join
///
/// # Notes
///
Expand Down

0 comments on commit 3fce06c

Please sign in to comment.