Skip to content

Commit ae74e00

Browse files
committed
📝 Add html_root_url to cli lib.rs
1 parent 4e2a36a commit ae74e00

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

cli/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,8 @@ harness = false
101101
[[bench]]
102102
name = "split"
103103
harness = false
104+
105+
[package.metadata.release]
106+
pre-release-replacements = [
107+
{ file = "src/lib.rs", search = "https://docs.rs/portable-network-archive/[0-9]+\\.[0-9]+\\.[0-9]+", replace = "https://docs.rs/portable-network-archive/{{version}}" },
108+
]

cli/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![doc(html_root_url = "https://docs.rs/portable-network-archive/0.28.3")]
12
#![doc = include_str!("../README.md")]
23
mod chunk;
34
pub mod cli;

0 commit comments

Comments
 (0)