diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 199b9cad..9cd3919b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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: diff --git a/lax/src/lib.rs b/lax/src/lib.rs index b5f9f16c..ede5b4d0 100644 --- a/lax/src/lib.rs +++ b/lax/src/lib.rs @@ -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 //! ----------------------------- @@ -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; diff --git a/ndarray-linalg/src/lib.rs b/ndarray-linalg/src/lib.rs index 8a8088c8..a957e20b 100644 --- a/ndarray-linalg/src/lib.rs +++ b/ndarray-linalg/src/lib.rs @@ -44,6 +44,7 @@ clippy::type_complexity, clippy::ptr_arg )] +#![deny(rustdoc::broken_intra_doc_links)] #[macro_use] extern crate ndarray;