You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2023/10/27 15:27:44 UTC
[I] Make sure that all code samples in the documentation are tested automatically [arrow-datafusion]
andygrove opened a new issue, #7951:
URL: https://github.com/apache/arrow-datafusion/issues/7951
### Is your feature request related to a problem or challenge?
Our user guide and library guide contain code samples, but these can quickly become outdated and stop compiling and we have to automated way to check if they still compile.
### Describe the solution you'd like
I propose that code samples be written as unit tests and that we then use a script to insert these code samples into the documentation when we publish the docs.
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add mechanism to verify that source code in documentation is valid [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #7951:
URL: https://github.com/apache/datafusion/issues/7951#issuecomment-2299083230
I believe this is now handled via the `doctest` macro, for example:
https://github.com/apache/datafusion/blob/37e54ee874e9027a329ba4f6c1e0e6359d63a33c/datafusion/core/src/lib.rs#L618-L643
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Add mechanism to verify that source code in documentation is valid [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #7951: Add mechanism to verify that source code in documentation is valid
URL: https://github.com/apache/datafusion/issues/7951
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org