AlenkaF opened a new pull request, #48619:
URL: https://github.com/apache/arrow/pull/48619

   ### Rationale for this change
   
   In many places in the Python User Guide the code exampels are written with 
IPython directive (elsewhere code-block is used). IPython directives are 
converted to IPython format (`In` and `Out` during the doc build). This can 
lead to slower builds.
   
   ### What changes are included in this PR?
   
   IPython directives are converted to runnable code-block (with `>>>` and 
`...`) and pytest doctest support for `.rst` files is added to the 
`conda-python-docs` CI job. This means the code in the Python User Guide is 
tested separately to the building  of the documentation.
   
   ### Are these changes tested?
   
   Yes, with the CI.
   
   ### Are there any user-facing changes?
   
   Changes to the Python User Guide examples will have to be tested with 
`pytest --doctest-glob='*.rst' docs/source/python/file.rst`
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to