Update doc generation with recent devlopments

This commit is contained in:
Alex Crichton 2018-01-28 21:59:59 -08:00
parent 0f5b382dd6
commit 5b445c5cac
3 changed files with 12 additions and 0 deletions

View file

@ -12,6 +12,8 @@ This is a **work in progress**.
* [Documentation - x86\_64][x86_64]
* [Documentation - arm][arm]
* [Documentation - aarch64][aarch64]
* [Documentation - powerpc][powerpc]
* [Documentation - powerpc64][powerpc64]
* [How to get started][contrib]
* [How to help implement intrinsics][help-implement]
@ -21,6 +23,8 @@ This is a **work in progress**.
[x86_64]: https://rust-lang-nursery.github.io/stdsimd/x86_64/stdsimd/
[arm]: https://rust-lang-nursery.github.io/stdsimd/arm/stdsimd/
[aarch64]: https://rust-lang-nursery.github.io/stdsimd/aarch64/stdsimd/
[powerpc]: https://rust-lang-nursery.github.io/stdsimd/powerpc/stdsimd/
[powerpc64]: https://rust-lang-nursery.github.io/stdsimd/powerpc64/stdsimd/
### Approach

View file

@ -24,6 +24,10 @@ dox() {
cargo build --target $target
rustdoc --target $target \
-o target/doc/$arch coresimd/src/lib.rs \
--crate-name coresimd \
--library-path target/$target/debug/deps
rustdoc --target $target \
-o target/doc/$arch src/lib.rs \
--crate-name stdsimd \

View file

@ -7,6 +7,8 @@
//! * [`x86_64`](https://rust-lang-nursery.github.io/stdsimd/x86_64/stdsimd/)
//! * [arm](https://rust-lang-nursery.github.io/stdsimd/arm/stdsimd/)
//! * [aarch64](https://rust-lang-nursery.github.io/stdsimd/aarch64/stdsimd/)
//! * [powerpc](https://rust-lang-nursery.github.io/stdsimd/powerpc/stdsimd/)
//! * [powerpc64](https://rust-lang-nursery.github.io/stdsimd/powerpc64/stdsimd/)
//!
//! # Overview
//!
@ -137,6 +139,7 @@ pub use coresimd::__unstable_detect_feature;
/// Platform dependent vendor intrinsics.
pub mod vendor {
#[doc(inline)]
pub use coresimd::vendor::*;
}
@ -152,6 +155,7 @@ pub mod __vendor_runtime {
/// Platform independent SIMD vector types and operations.
pub mod simd {
#[doc(inline)]
pub use coresimd::simd::*;
}