|
16 | 16 | # cannot parse. Skip generating individual API pages for these to avoid |
17 | 17 | # unfixable build warnings under -W. Names must match the unqualified form |
18 | 18 | # used by extract_namespace_items (i.e. without the project namespace prefix). |
19 | | -_BREATHE_SKIP_SYMBOLS = frozenset({ |
20 | | - # cuda::experimental::stf::get_executor_func_t — function-pointer typedef. |
21 | | - # Breathe renders as "pos4(*)(pos4, dim4, dim4)" which Sphinx's C++ parser |
22 | | - # rejects ("Expected end of definition"). |
23 | | - # Listed both qualified (cudax) and unqualified (libcudacxx) since the |
24 | | - # generator uses different naming conventions per project. |
25 | | - "get_executor_func_t", |
26 | | - "cuda::experimental::stf::get_executor_func_t", |
27 | | - # cuda::property_with_value — variable template using _CCCL_REQUIRES_EXPR |
28 | | - # with a typename(...) inside the expression. Sphinx cannot parse the |
29 | | - # requires-expression expansion. |
30 | | - "property_with_value", |
31 | | - # cuda::has_property — variable template with _CCCL_REQUIRES_EXPR |
32 | | - # containing a const keyword inside the expression body. |
33 | | - "has_property", |
34 | | -}) |
| 19 | +_BREATHE_SKIP_SYMBOLS = frozenset( |
| 20 | + { |
| 21 | + # cuda::experimental::stf::get_executor_func_t — function-pointer typedef. |
| 22 | + # Breathe renders as "pos4(*)(pos4, dim4, dim4)" which Sphinx's C++ parser |
| 23 | + # rejects ("Expected end of definition"). |
| 24 | + # Listed both qualified (cudax) and unqualified (libcudacxx) since the |
| 25 | + # generator uses different naming conventions per project. |
| 26 | + "get_executor_func_t", |
| 27 | + "cuda::experimental::stf::get_executor_func_t", |
| 28 | + # cuda::property_with_value — variable template using _CCCL_REQUIRES_EXPR |
| 29 | + # with a typename(...) inside the expression. Sphinx cannot parse the |
| 30 | + # requires-expression expansion. |
| 31 | + "property_with_value", |
| 32 | + # cuda::has_property — variable template with _CCCL_REQUIRES_EXPR |
| 33 | + # containing a const keyword inside the expression body. |
| 34 | + "has_property", |
| 35 | + } |
| 36 | +) |
35 | 37 |
|
36 | 38 |
|
37 | 39 | def extract_param_summary(params): |
@@ -555,7 +557,9 @@ def generate_group_index_page(group_name, group_refid, project_name, xml_dir, ap |
555 | 557 | content.append("-------") |
556 | 558 | content.append("") |
557 | 559 | for member_kind, member_name, member_refid in members: |
558 | | - content.append(format_doc_reference(member_name, member_refid, "", as_list_item=True)) |
| 560 | + content.append( |
| 561 | + format_doc_reference(member_name, member_refid, "", as_list_item=True) |
| 562 | + ) |
559 | 563 | content.append("") |
560 | 564 |
|
561 | 565 | return "\n".join(content) |
|
0 commit comments