updates for documentation
All checks were successful
Rust/va416xx-rs/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2024-06-25 16:10:17 +02:00
parent 7f90461d11
commit 337401a2ac
6 changed files with 12 additions and 2 deletions

View File

@ -37,3 +37,7 @@ default = ["rt", "revb"]
rt = ["va416xx/rt"] rt = ["va416xx/rt"]
defmt = ["dep:defmt", "fugit/defmt"] defmt = ["dep:defmt", "fugit/defmt"]
revb = [] revb = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]

View File

@ -1,4 +1,5 @@
#![no_std] #![no_std]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#[cfg(test)] #[cfg(test)]
extern crate std; extern crate std;

View File

@ -26,4 +26,4 @@ rt = ["cortex-m-rt/device"]
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docs_rs", "--generate-link-to-definition"] rustdoc-args = ["--generate-link-to-definition"]

View File

@ -4,7 +4,7 @@ svd2rust release can be generated by cloning the svd2rust [repository], checking
#![allow(non_snake_case)] #![allow(non_snake_case)]
#![no_std] #![no_std]
// Manually inserted. // Manually inserted.
#![cfg_attr(docs_rs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_auto_cfg))]
use core::marker::PhantomData; use core::marker::PhantomData;
use core::ops::Deref; use core::ops::Deref;
#[doc = r"Number available in the NVIC for configuring priority"] #[doc = r"Number available in the NVIC for configuring priority"]

View File

@ -28,3 +28,7 @@ features = ["out_f32"]
[features] [features]
rt = ["va416xx-hal/rt"] rt = ["va416xx-hal/rt"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]

View File

@ -1,5 +1,6 @@
//! Board support crate for the VORAGO PEB1 board. //! Board support crate for the VORAGO PEB1 board.
#![no_std] #![no_std]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
pub use lis2dh12; pub use lis2dh12;