Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable doc generation for ocrs CLI tool #40

Merged
merged 1 commit into from
Mar 10, 2024
Merged

Conversation

robertknight
Copy link
Owner

When running cargo doc the docs for the ocrs binary would end up overwriting the docs for the ocrs library crate in target/doc/ocrs. Only the docs for the library crate are actually useful, so disable doc generation for the binary using doc = false. This follows suggestions in rust-lang/cargo#6313.

Also generate docs in CI.

When running `cargo doc` the docs for the `ocrs` binary would end up overwriting
the docs for the `ocrs` library crate in `target/doc/ocrs`. Only the docs for
the library crate are actually useful, so disable doc generation for the binary
using `doc = false`. This follows suggestions in
rust-lang/cargo#6313.

Also generate docs in CI.
@robertknight robertknight merged commit f8112f5 into main Mar 10, 2024
2 checks passed
@robertknight robertknight deleted the lib-cli-doc-conflict branch March 10, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant