Skip to content

Commit

Permalink
fix: rustdoc now with indices and a better make target name (#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
danking authored Nov 5, 2024
1 parent 6a3cb7b commit ccd3341
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@ help:
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

full-html: html rust-html
python-and-rust-html: html rust-html
true # need a non-empty rule to prevent matching the %: rule.

rust-html:
cargo doc --no-deps --workspace --all-features --target-dir $(BUILDDIR)/html/rust
RUSTDOCFLAGS="--enable-index-page -Z unstable-options" cargo doc \
--no-deps \
--workspace \
--exclude bench-vortex \
--exclude xtask \
--all-features \
--target-dir \
$(BUILDDIR)/html/rust
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ uv run make html
Build the Python and Rust docs and place the rust docs at `_build/rust/html`:

```
uv run make full-html
uv run make python-and-rust-html
```

## Viewing
Expand Down

0 comments on commit ccd3341

Please sign in to comment.