Skip to content

Commit 17a7e93

Browse files
committed
Allow warnings for Rust docs build
1 parent 1f334a0 commit 17a7e93

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ jobs:
7676
- name: Build Python docs
7777
run: make docs-python
7878

79-
# - name: Build Rust docs
80-
# run: |
81-
# make docs-rust
82-
# cp -r nautilus_core/target/doc docs/build/html/core
79+
- name: Build Rust docs
80+
run: |
81+
make docs-rust
82+
cp -r nautilus_core/target/doc docs/build/html/core
8383
8484
- name: Add nojeckyll
8585
run: touch docs/build/html/.nojekyll

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ docs-python: install-just-deps-all
7070

7171
.PHONY: docs-rust
7272
docs-rust:
73-
(cd nautilus_core && RUSTDOCFLAGS="--enable-index-page -Zunstable-options --deny warnings" cargo +nightly doc --no-deps)
73+
(cd nautilus_core && RUSTDOCFLAGS="--enable-index-page -Zunstable-options --allow warnings" cargo +nightly doc --no-deps)
7474

7575
.PHONY: clippy
7676
clippy:

0 commit comments

Comments
 (0)