Skip to content

Commit

Permalink
Merge pull request #342 from rust-ndarray/cargo-doc-test
Browse files Browse the repository at this point in the history
Check broken intra document link on CI
  • Loading branch information
termoshtt committed Sep 25, 2022
2 parents f672b07 + 3f73490 commit 10ae296
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/rust.yml
Expand Up @@ -25,6 +25,15 @@ jobs:
command: check
args: --all-targets

check-doc:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- uses: actions-rs/cargo@v1
with:
command: doc
args: --no-deps

clippy:
runs-on: ubuntu-22.04
steps:
Expand Down
5 changes: 4 additions & 1 deletion lax/src/lib.rs
Expand Up @@ -59,7 +59,8 @@
//! there are several types of eigenvalue problem API
//!
//! - [eig] module for eigenvalue problem for general matrix.
//! - [Eigh_] trait provides methods for eigenvalue problem for symmetric/hermite matrix.
//! - [eigh] module for eigenvalue problem for symmetric/hermite matrix.
//! - [eigh_generalized] module for generalized eigenvalue problem for symmetric/hermite matrix.
//!
//! Singular Value Decomposition
//! -----------------------------
Expand All @@ -71,6 +72,8 @@
//! for solving least square problem by SVD
//!

#![deny(rustdoc::broken_intra_doc_links)]

#[cfg(any(feature = "intel-mkl-system", feature = "intel-mkl-static"))]
extern crate intel_mkl_src as _src;

Expand Down
1 change: 1 addition & 0 deletions ndarray-linalg/src/lib.rs
Expand Up @@ -44,6 +44,7 @@
clippy::type_complexity,
clippy::ptr_arg
)]
#![deny(rustdoc::broken_intra_doc_links)]

#[macro_use]
extern crate ndarray;
Expand Down

0 comments on commit 10ae296

Please sign in to comment.