Skip to content

Commit 8ee85fc

Browse files
authored
chore: Remove html_root_url (#2184)
1 parent 77cee9c commit 8ee85fc

File tree

8 files changed

+0
-11
lines changed

8 files changed

+0
-11
lines changed

prepare-release.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ CRATES=( \
3333
)
3434

3535
for CRATE in "${CRATES[@]}"; do
36-
# Update html_root_url attributes.
37-
sed -i -E "s~html_root_url = \"https://docs\.rs/${TONIC_CRATE_MATCHER}/$VERSION_MATCHER\"~html_root_url = \"https://docs.rs/\1/${VERSION}\"~" \
38-
"$DIR/$CRATE/src/lib.rs"
39-
4036
# Update documentation url in Cargo.toml
4137
sed -i -E "s~documentation = \"https://docs\.rs/$CRATE/$VERSION_MATCHER\"~documentation = \"https://docs.rs/${CRATE}/${VERSION}\"~" \
4238
"$DIR/$CRATE/Cargo.toml"

tonic-build/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
#![doc(
6565
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg"
6666
)]
67-
#![doc(html_root_url = "https://docs.rs/tonic-build/0.13.0")]
6867
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
6968
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
7069
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

tonic-health/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![doc(
1010
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg"
1111
)]
12-
#![doc(html_root_url = "https://docs.rs/tonic-health/0.13.0")]
1312
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
1413
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
1514
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

tonic-reflection/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#![doc(
44
html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png"
55
)]
6-
#![doc(html_root_url = "https://docs.rs/tonic-reflection/0.13.0")]
76
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
87
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
98
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

tonic-types/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@
143143
#![doc(
144144
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg"
145145
)]
146-
#![doc(html_root_url = "https://docs.rs/tonic-types/0.13.0")]
147146
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
148147

149148
mod generated {

tonic-web/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
//! [`tonic_web`]: https://github.com/hyperium/tonic
6969
//! [grpc-web]: https://github.com/grpc/grpc-web
7070
//! [tower]: https://github.com/tower-rs/tower
71-
#![doc(html_root_url = "https://docs.rs/tonic-web/0.13.0")]
7271
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
7372

7473
pub use call::GrpcWebCall;

tonic/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name = "tonic"
33
# When releasing to crates.io:
44
# - Remove path dependencies
5-
# - Update html_root_url.
65
# - Update doc url
76
# - Cargo.toml
87
# - README.md

tonic/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
#![doc(
9292
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg"
9393
)]
94-
#![doc(html_root_url = "https://docs.rs/tonic/0.13.0")]
9594
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
9695
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
9796
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

0 commit comments

Comments
 (0)