mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
chore: add Netlify doc previews (#4699)
This commit is contained in:
@@ -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"
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
/// for **all** branches complete regardless if any complete with `Err`. Use
|
/// for **all** branches complete regardless if any complete with `Err`. Use
|
||||||
/// [`try_join!`] to return early when `Err` is encountered.
|
/// [`try_join!`] to return early when `Err` is encountered.
|
||||||
///
|
///
|
||||||
/// [`try_join!`]: macro@try_join
|
/// [`try_join!`]: crate::try_join
|
||||||
///
|
///
|
||||||
/// # Notes
|
/// # Notes
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user