ugoa commented on PR #14544:
URL: https://github.com/apache/datafusion/pull/14544#issuecomment-2645835876

   So I managed to strip off the setup code with some regex trick in Python 
`docs/rustdoc_trim.py`, and now the doc shows clean snippets while the doc-test 
still able to pass.
   A few points to consider:
   * It is a simple implementation, but I think it should be good enough to 
cover the requirement.
   * For now it only pre-processes the doc dir 
`docs/source/library-user-guide`, as for the `user-guide/`, it can be in next PR
   
   <img width="1178" alt="image" 
src="https://github.com/user-attachments/assets/39299504-2865-4eca-8dd3-6eec0117eaaa";
 />
   


-- 
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-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to