Commit 3b515ed
authored
### Rationale for this change
Fixes Sphinx warnings during the docs build. Doxygen/Breathe expose the multi-line lambda initializers on `writer_pre_finish`/`writer_post_finish` and the macros `ARROW_SUPPRESS_DEPRECATION_WARNING` / `ARROW_UNSUPPRESS_DEPRECATION_WARNING` to Sphinx C++ parses which can't parse them.
### What changes are included in this PR?
Added `\hideinitializer` to `dataset/file_base.h` and `dataset/scanner.h`.
Added `ARROW_SUPPRESS_DEPRECATION_WARNING` and `ARROW_UNSUPPRESS_DEPRECATION_WARNING` to `apidoc/Doxyfile` PREDEFINED list so Doxygen strips them from declarations.
### Are these changes tested?
Yes, locally and on fork CI - logs [AMD64 Debian 12 Complete Documentation](https://github.com/tadeja/arrow/actions/runs/28794724664/job/85382053293#step:7:5577):
`build succeeded, 15 warnings.`
(down from [26 warnings on main](https://github.com/apache/arrow/actions/runs/28808141817/job/85428862231#step:7:5654))
### Are there any user-facing changes?
No.
* GitHub Issue: #50394
Authored-by: Tadeja Kadunc <tadeja.kadunc@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
1 parent 98a92c2 commit 3b515ed
3 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2484 | 2484 | | |
2485 | 2485 | | |
2486 | 2486 | | |
| 2487 | + | |
| 2488 | + | |
2487 | 2489 | | |
2488 | 2490 | | |
2489 | 2491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| 454 | + | |
454 | 455 | | |
455 | 456 | | |
456 | 457 | | |
457 | 458 | | |
458 | 459 | | |
459 | 460 | | |
| 461 | + | |
460 | 462 | | |
461 | 463 | | |
462 | 464 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| |||
0 commit comments