From 5ea3aa1f91710473a619ac96cf9bde782efc5476 Mon Sep 17 00:00:00 2001 From: Bryce Mecum Date: Tue, 22 Oct 2024 18:36:01 -0700 Subject: [PATCH] GH-44506: [Docs][C++] Fix documentation directive for ChunkLocation (#44505) ### Rationale for this change Since ChunkLocation is a typedef/alias, it needs to use the `doxygentypedef` Sphinx directive rather than `doxygenstruct` in order for it to show up in the generated HTML. Otherwise we get an error. ### What changes are included in this PR? Just docs: - Replace `doxygenstruct` directive with `doxygentypedef` - Remove `:members:` directive as it's not needed ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes, though just docs. * GitHub Issue: #44506 Authored-by: Bryce Mecum Signed-off-by: Bryce Mecum --- docs/source/cpp/api/array.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/cpp/api/array.rst b/docs/source/cpp/api/array.rst index 133a432884d3b..a87e3810c47a0 100644 --- a/docs/source/cpp/api/array.rst +++ b/docs/source/cpp/api/array.rst @@ -88,9 +88,8 @@ Chunked Arrays :project: arrow_cpp :members: -.. doxygenstruct:: arrow::ChunkLocation +.. doxygentypedef:: arrow::ChunkLocation :project: arrow_cpp - :members: .. doxygenstruct:: arrow::TypedChunkLocation :project: arrow_cpp