diff --git a/.cargo-husky/hooks/pre-push b/.cargo-husky/hooks/pre-push index 6ba6bc39..6a0f996f 100755 --- a/.cargo-husky/hooks/pre-push +++ b/.cargo-husky/hooks/pre-push @@ -8,7 +8,7 @@ echo "### fmt --all --check ###" cargo fmt --all --check echo "### cargo doc --all-features --no-deps ###" -RUSTDOCFLAGS="-D warnings" cargo doc --all-features --no-deps +RUSTDOCFLAGS="-D rustdoc::all" cargo doc --all-features --no-deps # With no features echo "### test --no-default-features --workspace ###" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a40a1a0f..f9c411a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,5 +38,5 @@ jobs: - uses: actions/checkout@v4 - name: Docs env: - RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private-doc-tests" + RUSTDOCFLAGS: "-D rustdoc::all" run: cargo doc --all-features --no-deps diff --git a/src/lib.rs b/src/lib.rs index f4dfbfde..40280ef7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,7 @@ +//! # Roadster +//! +//! Todo: Add documentation + #![forbid(unsafe_code)] pub mod app;