REQ-DDB-WIKI-038: The wiki as Markdown pages for GitHub and Azure DevOps wikis¶
What it requires
clew wiki build --format markdown --flavor github|ado --out DIRwrites, without Sphinx and without HTML, a Home page (counts, links, and a statement that the map, lenses and call graphs are the HTML site's), Requirements (per group: id, title unless requirement text is excluded, tier, implementers, test count, open issues), Flows (by role) with one page per flow — its sequence diagram in Mermaid and its steps by name and call site, no call text or body — and Change impact when a report exists.- GitHub pages fence
mermaid, link pages without an extension and get_Sidebar.md; Azure DevOps pages take::: mermaidblocks, link./Page.mdand get.order. - An unknown flavour is refused by name.
- tier
- PASS
- declared
- implemented
- priority
- P1
How it is met
Implemented by
_markdownclew/wiki/command.py:228build_markdownclew/wiki/markdown.py:154
Tests (19)
Linked directly
8 tests: 8 passed
8 passed
| test | result | linked by | implementers exercised | calls away |
|---|---|---|---|---|
test_the_committed_cli_surface_is_current | passed | measured | 1 of 2: _markdown | — |
test_a_markdown_build_writes_the_summary_where_asked | passed | measured | 1 of 2: build_markdown | 1 |
test_a_markdown_wiki_with_pinned_catalogues_has_the_product_trace_page | passed | measured | 1 of 2: build_markdown | 1 |
test_an_unknown_flavour_is_refused | passed | measured | 1 of 2: build_markdown | 1 |
test_ado_flavour_blocks_order_and_links | passed | measured | 1 of 2: build_markdown | 2 |
test_github_flavour_pages_and_diagrams | passed | measured | 1 of 2: build_markdown | 2 |
test_the_markdown_obeys_the_audience | passed | measured | 1 of 2: build_markdown | 2 |
test_the_cli_writes_markdown_without_sphinx | passed | measured | 2 of 2: _markdown, build_markdown | 3 |
Reached through calls
11 tests: 11 passed
11 passed
| test | result | linked by | implementers exercised | calls away |
|---|---|---|---|---|
test_check_refresh_brings_the_index_current_first | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |
test_the_cli_check_exits_nonzero_on_a_problem | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |
test_the_cli_creates_the_output_directory | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |
test_the_cli_prints_the_flow_as_json | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |
test_the_cli_prints_the_trace | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |
test_the_cli_takes_an_out_of_tree_config | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |
test_the_cli_writes_otlp_json_and_the_overlay | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |
test_the_command_prints_yaml_and_applies_a_reviewed_file | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |
test_the_flow_verb_prints_svg | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |
test_the_trace_cli_reads_imports_from_the_config | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |
test_wiki_check_prints_ears_notes_without_failing_on_them | passed | inferred | 2 of 2: _markdown, build_markdown | 3 |