GH-49509: [Docs][Python][C++] Minimize warnings and docutils errors for Sphinx build html#49510
Conversation
|
Reposting from the issue:
|
|
Most of the errors show up as malformed doc pages and correcting these improves doc page readability; https://arrow.apache.org/docs/dev/python/generated/pyarrow.parquet.write_table.html
|
|
https://arrow.apache.org/docs/dev/cpp/env_vars.html broken link, it should be |
|
Broken bool_ https://arrow.apache.org/docs/dev/python/generated/pyarrow.Bool8Array.html#pyarrow.Bool8Array.from_numpy https://arrow.apache.org/docs/dev/python/generated/pyarrow.ListArray.html#pyarrow.ListArray.flatten |
|
@github-actions crossbow submit preview-docs |
|
Revision: 79c71f0 Submitted crossbow builds: ursacomputing/crossbow @ actions-0a3dab5269
|
|
@rok could you do a pass? |
| __declspec(x)= \ | ||
| ARROW_ACERO_EXPORT= \ | ||
| ARROW_ARG_UNUSED(x)=x \ | ||
| ARROW_CUDA_EXPORT= \ |
There was a problem hiding this comment.
This was the commit adding new ARROW_CUDA_EXPORT and adding it now to Doxyfile resolves these:
/build/python/docs/source/cpp/api/cuda.rst:73: WARNING: Error when parsing function declaration.
If the function has no return type:
Error in declarator or parameters-and-qualifiers
Error: at 18]
ARROW_CUDA_EXPORT Result< std::shared_ptr< CudaBuffer > > SerializeRecordBatch (const RecordBatch &batch, CudaContext *ctx)
------------------^
...
|
I've excluded some unnecessarily complex fixes for now( like this CI change ), so with current fixes we get: |
|
@raulcd quick look perhaps? I'll merge tonight if CI passes. |
raulcd
left a comment
There was a problem hiding this comment.
I am no expert on sphinx, doxygen or restructured text but all those changes look reasonable to me.





Rationale for this change
Closes #49509
What changes are included in this PR?
Docs formatting/typos corrected.
Are these changes tested?
Yes, on fork branch.
Are there any user-facing changes?
No, just corrected formatting/typos in docs.