mirror of
https://github.com/clap-rs/clap
synced 2024-11-14 16:47:21 +00:00
docs(gen): Use absolute paths for docs.rs sake
Using relative paths will work from github but when we include `README.md` into `lib.rs`, they will break.
This commit is contained in:
parent
b3315f995d
commit
8e5a62faed
2 changed files with 7 additions and 2 deletions
|
@ -22,6 +22,11 @@ categories = ["command-line-interface"]
|
|||
license = "MIT OR Apache-2.0"
|
||||
readme = "README.md"
|
||||
|
||||
[package.metadata.release]
|
||||
pre-release-replacements = [
|
||||
{file="README.md", search="github.com/clap-rs/clap/blob/[^/]+/", replace="github.com/clap-rs/clap/blob/{{tag_name}}/", exactly=4, prerelease = true},
|
||||
]
|
||||
|
||||
[lib]
|
||||
bench = false
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT).
|
|||
1. [About](#about)
|
||||
2. [API Reference](https://docs.rs/clap_generate)
|
||||
3. [Questions & Discussions](https://github.com/clap-rs/clap/discussions)
|
||||
4. [CONTRIBUTING](CONTRIBUTING.md)
|
||||
5. [Sponsors](../README.md#sponsors)
|
||||
4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/v3.0.0-rc.4/clap_generate/CCONTRIBUTING.md)
|
||||
5. [Sponsors](https://github.com/clap-rs/clap/blob/v3.0.0-rc.4/README.md#sponsors)
|
||||
|
||||
## About
|
||||
|
||||
|
|
Loading…
Reference in a new issue