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

Improve Ballista crate README content #878

Merged
merged 4 commits into from
Aug 15, 2021

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Aug 14, 2021

Which issue does this PR close?

Closes #877.

Rationale for this change

Prior to the release I had added minimal rustdoc documentation to lib.rs in each crate but had forgotten / not realized that crates.io uses the README.md

What changes are included in this PR?

Essentially this is just a copy and paste of the rustdocs into the README for each crate

Are there any user-facing changes?

No

@houqp houqp added the documentation Improvements or additions to documentation label Aug 14, 2021
@@ -17,6 +17,102 @@
under the License.
-->

# Ballista - Rust
# Ballista: Distributed Scheduler for Apache Arrow DataFusion
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have you considered using #![doc = include_str!("../README.md")] here to keep both versions in sync? we could annotate the example code with rust,no_run to make sure it's skipped in doc test and also renders properly on github.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had no idea about this feature ... thank you for pointing this out. I will update the PR tomorrow with this.

@houqp
Copy link
Member

houqp commented Aug 15, 2021

@andygrove looks like there is one minor rustfmt issue.

@houqp houqp merged commit 7f3fe46 into apache:master Aug 15, 2021
@andygrove andygrove deleted the ballista-crate-readme branch February 6, 2022 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Ballista documentation on crates.io
2 participants