docs/firmware/protocol.md mints its own `docs_firmware_protocol` plus a bare `protocol` that stands for another file; docs/protocol.md mints `protocol`.
(*, edge=True, docs_label="Protocol",
mention_label="protocol (top-level)", top_level=False)
| 2211 | |
| 2212 | |
| 2213 | def _protocol_reference_input(*, edge=True, docs_label="Protocol", |
| 2214 | mention_label="protocol (top-level)", top_level=False): |
| 2215 | """docs/firmware/protocol.md mints its own `docs_firmware_protocol` plus a bare |
| 2216 | `protocol` that stands for another file; docs/protocol.md mints `protocol`.""" |
| 2217 | fw = "docs/firmware/protocol.md" |
| 2218 | nodes = [_mention_node("protocol", docs_label, "docs/protocol.md"), |
| 2219 | _mention_node("docs_firmware_protocol", "Firmware protocol", fw), |
| 2220 | _mention_node("protocol", mention_label, fw)] |
| 2221 | if top_level: |
| 2222 | nodes.append(_mention_node("protocol", "Protocol (top-level)", "protocol.md")) |
| 2223 | edges = [_mention_edge("docs_firmware_protocol", "protocol", fw)] if edge else [] |
| 2224 | return {"nodes": nodes, "edges": edges} |
| 2225 | |
| 2226 | |
| 2227 | def _assert_reference_lands_on_the_other_file(G): |
no test coverage detected