Added html_root_url as specified in https://rust-lang.github.io/api-guidelines/documentation.html#c-html-root
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
This commit is contained in:
parent
c253dfe06d
commit
30367b7e54
|
@ -37,6 +37,7 @@ uuid = { version = "^0.8", features = ["v4", "wasm-bindgen"] }
|
|||
[dev-dependencies]
|
||||
rstest = "0.6"
|
||||
claim = "0.3.1"
|
||||
version-sync = "^0.9"
|
||||
|
||||
[workspace]
|
||||
members = [
|
||||
|
|
|
@ -30,6 +30,7 @@ Note: This project is WIP under active development, hence all APIs are considere
|
|||
To get started, add the dependency to `Cargo.toml`:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
cloudevents-sdk = "0.2.0"
|
||||
```
|
||||
|
||||
|
|
|
@ -24,4 +24,5 @@ futures = "^0.3"
|
|||
[dev-dependencies]
|
||||
url = { version = "^2.1", features = ["serde"] }
|
||||
serde_json = "^1.0"
|
||||
chrono = { version = "^0.4", features = ["serde"] }
|
||||
chrono = { version = "^0.4", features = ["serde"] }
|
||||
version-sync = "^0.9"
|
|
@ -41,6 +41,7 @@
|
|||
//!
|
||||
//! Check out the [cloudevents-sdk](https://docs.rs/cloudevents-sdk) docs for more details on how to use [`cloudevents::Event`]
|
||||
|
||||
#![doc(html_root_url = "https://docs.rs/cloudevents-sdk-actix-web/0.2.0")]
|
||||
#![deny(broken_intra_doc_links)]
|
||||
|
||||
#[macro_use]
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#[test]
|
||||
fn test_readme_deps() {
|
||||
version_sync::assert_markdown_deps_updated!("README.md");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_html_root_url() {
|
||||
version_sync::assert_html_root_url_updated!("src/lib.rs");
|
||||
}
|
|
@ -24,3 +24,4 @@ serde_json = "^1.0"
|
|||
chrono = { version = "^0.4", features = ["serde"] }
|
||||
futures = "0.3.5"
|
||||
rdkafka = { version = "^0.24" }
|
||||
version-sync = "^0.9"
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
//! # }
|
||||
//! ```
|
||||
|
||||
#![doc(html_root_url = "https://docs.rs/cloudevents-sdk-rdkafka/0.2.0")]
|
||||
#![deny(broken_intra_doc_links)]
|
||||
|
||||
#[macro_use]
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#[test]
|
||||
fn test_readme_deps() {
|
||||
version_sync::assert_markdown_deps_updated!("README.md");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_html_root_url() {
|
||||
version_sync::assert_html_root_url_updated!("src/lib.rs");
|
||||
}
|
|
@ -28,4 +28,5 @@ mockito = "0.25.1"
|
|||
tokio = { version = "^0.2", features = ["full"] }
|
||||
url = { version = "^2.1" }
|
||||
serde_json = "^1.0"
|
||||
chrono = { version = "^0.4", features = ["serde"] }
|
||||
chrono = { version = "^0.4", features = ["serde"] }
|
||||
version-sync = "^0.9"
|
|
@ -29,6 +29,7 @@
|
|||
//!
|
||||
//! Check out the [cloudevents-sdk](https://docs.rs/cloudevents-sdk) docs for more details on how to use [`cloudevents::Event`].
|
||||
|
||||
#![doc(html_root_url = "https://docs.rs/cloudevents-sdk-reqwest/0.2.0")]
|
||||
#![deny(broken_intra_doc_links)]
|
||||
|
||||
#[macro_use]
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#[test]
|
||||
fn test_readme_deps() {
|
||||
version_sync::assert_markdown_deps_updated!("README.md");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_html_root_url() {
|
||||
version_sync::assert_html_root_url_updated!("src/lib.rs");
|
||||
}
|
|
@ -37,6 +37,7 @@
|
|||
//! * [cloudevents-sdk-rdkafka](https://docs.rs/cloudevents-sdk-rdkafka): Integration with [rdkafka](https://fede1024.github.io/rust-rdkafka)
|
||||
//!
|
||||
|
||||
#![doc(html_root_url = "https://docs.rs/cloudevents-sdk/0.2.0")]
|
||||
#![deny(broken_intra_doc_links)]
|
||||
|
||||
pub mod event;
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#[test]
|
||||
fn test_readme_deps() {
|
||||
version_sync::assert_markdown_deps_updated!("README.md");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_html_root_url() {
|
||||
version_sync::assert_html_root_url_updated!("src/lib.rs");
|
||||
}
|
Loading…
Reference in New Issue