REQ-DDB-WIKI-053: A public-API reference, one page per declared public header¶
What it requires
- With
wiki.apideclaring public-header globs, the API tab lists those headers, and each header's page shows, from the index, its public functions with signatures, enumerations with their values, typedefs (a function-pointer typedef marked a hook point), macros with values, variables, and classes / structs with their public members. - Private and protected members and
\internal-documented symbols are excluded; a public@utilityfunction is still public API. - Without
wiki.apithere is no API tab.
- tier
- PASS
- declared
- implemented
- priority
- P1
How it is met
Implemented by
api_htmlclew/wiki/apiref.py:331api_pagesclew/wiki/apiref.py:404doc_textclew/wiki/apiref.py:182header_symbolsclew/wiki/apiref.py:105parse_docclew/wiki/apiref.py:461
Tests (66)
Linked directly
52 tests: 52 passed
52 passed
Reached through calls
14 tests: 14 passed
14 passed
| test | result | linked by | implementers exercised | calls away |
|---|---|---|---|---|
test_a_running_hub_is_opened_instead_and_a_dead_one_ignored | passed | inferred | 5 of 5 | 4 |
test_without_a_hub_the_static_site_is_built_and_opened | passed | inferred | 5 of 5 | 4 |
test_check_refresh_brings_the_index_current_first | passed | inferred | 5 of 5 | 5 |
test_the_cli_check_exits_nonzero_on_a_problem | passed | inferred | 5 of 5 | 5 |
test_the_cli_creates_the_output_directory | passed | inferred | 5 of 5 | 5 |
test_the_cli_prints_the_flow_as_json | passed | inferred | 5 of 5 | 5 |
test_the_cli_prints_the_trace | passed | inferred | 5 of 5 | 5 |
test_the_cli_takes_an_out_of_tree_config | passed | inferred | 5 of 5 | 5 |
test_the_cli_writes_markdown_without_sphinx | passed | inferred | 5 of 5 | 5 |
test_the_cli_writes_otlp_json_and_the_overlay | passed | inferred | 5 of 5 | 5 |
test_the_command_prints_yaml_and_applies_a_reviewed_file | passed | inferred | 5 of 5 | 5 |
test_the_flow_verb_prints_svg | passed | inferred | 5 of 5 | 5 |
test_the_trace_cli_reads_imports_from_the_config | passed | inferred | 5 of 5 | 5 |
test_wiki_check_prints_ears_notes_without_failing_on_them | passed | inferred | 5 of 5 | 5 |