Skip to content

Commit

Permalink
Allow warnings for Rust docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Apr 19, 2024
1 parent 1f334a0 commit 17a7e93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 17a7e93

Please sign in to comment.