Guidelines for placing sync/async examples in docs vs standalone examples? #9168
vigneshsiva11
started this conversation in
General
Replies: 2 comments
-
|
It would be good if we can try push things into doctests for discoverability; the exception being if the example is too large then perhaps it would make more sense to live in examples as a distinct program. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks, that makes sense. I’ll follow this guideline and prefer pushing smaller, commonly used This aligns well with the recent parquet documentation changes I worked on. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
While working on parquet documentation, I noticed that
ArrowReaderBuilder provides both synchronous and asynchronous variants.
I was wondering if there are any preferred guidelines or conventions
for when examples should live directly in rustdoc comments
versus remaining as standalone examples under
parquet/examples.For example:
for better discoverability?
I’d appreciate any guidance or pointers to existing conventions.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions