Skip to content

Commit 684aeba

Browse files
committed
Update doc generation with recent devlopments
1 parent b68f729 commit 684aeba

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ This is a **work in progress**.
1212
* [Documentation - x86\_64][x86_64]
1313
* [Documentation - arm][arm]
1414
* [Documentation - aarch64][aarch64]
15+
* [Documentation - powerpc][powerpc]
16+
* [Documentation - powerpc64][powerpc64]
1517
* [How to get started][contrib]
1618
* [How to help implement intrinsics][help-implement]
1719

@@ -21,6 +23,8 @@ This is a **work in progress**.
2123
[x86_64]: https://rust-lang-nursery.github.io/stdsimd/x86_64/stdsimd/
2224
[arm]: https://rust-lang-nursery.github.io/stdsimd/arm/stdsimd/
2325
[aarch64]: https://rust-lang-nursery.github.io/stdsimd/aarch64/stdsimd/
26+
[powerpc]: https://rust-lang-nursery.github.io/stdsimd/powerpc/stdsimd/
27+
[powerpc64]: https://rust-lang-nursery.github.io/stdsimd/powerpc64/stdsimd/
2428

2529
### Approach
2630

ci/dox.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ dox() {
2424

2525
cargo build --target $target
2626

27+
rustdoc --target $target \
28+
-o target/doc/$arch coresimd/src/lib.rs \
29+
--crate-name coresimd \
30+
--library-path target/$target/debug/deps
2731
rustdoc --target $target \
2832
-o target/doc/$arch src/lib.rs \
2933
--crate-name stdsimd \

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
//! * [`x86_64`](https://rust-lang-nursery.github.io/stdsimd/x86_64/stdsimd/)
88
//! * [arm](https://rust-lang-nursery.github.io/stdsimd/arm/stdsimd/)
99
//! * [aarch64](https://rust-lang-nursery.github.io/stdsimd/aarch64/stdsimd/)
10+
//! * [powerpc](https://rust-lang-nursery.github.io/stdsimd/powerpc/stdsimd/)
11+
//! * [powerpc64](https://rust-lang-nursery.github.io/stdsimd/powerpc64/stdsimd/)
1012
//!
1113
//! # Overview
1214
//!
@@ -137,6 +139,7 @@ pub use coresimd::__unstable_detect_feature;
137139

138140
/// Platform dependent vendor intrinsics.
139141
pub mod vendor {
142+
#[doc(inline)]
140143
pub use coresimd::vendor::*;
141144
}
142145

@@ -152,6 +155,7 @@ pub mod __vendor_runtime {
152155

153156
/// Platform independent SIMD vector types and operations.
154157
pub mod simd {
158+
#[doc(inline)]
155159
pub use coresimd::simd::*;
156160
}
157161

0 commit comments

Comments
 (0)