From 17a7e93884b6a397e52ea32065fc035442aef4dd Mon Sep 17 00:00:00 2001 From: Chris Sellers Date: Fri, 19 Apr 2024 12:39:50 +1000 Subject: [PATCH] Allow warnings for Rust docs build --- .github/workflows/docs.yml | 8 ++++---- Makefile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 48f6e5932c8c..0066f5bdc578 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -76,10 +76,10 @@ jobs: - name: Build Python docs run: make docs-python - # - name: Build Rust docs - # run: | - # make docs-rust - # cp -r nautilus_core/target/doc docs/build/html/core + - name: Build Rust docs + run: | + make docs-rust + cp -r nautilus_core/target/doc docs/build/html/core - name: Add nojeckyll run: touch docs/build/html/.nojekyll diff --git a/Makefile b/Makefile index 8053d6f16526..099007137e49 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ docs-python: install-just-deps-all .PHONY: docs-rust docs-rust: - (cd nautilus_core && RUSTDOCFLAGS="--enable-index-page -Zunstable-options --deny warnings" cargo +nightly doc --no-deps) + (cd nautilus_core && RUSTDOCFLAGS="--enable-index-page -Zunstable-options --allow warnings" cargo +nightly doc --no-deps) .PHONY: clippy clippy: