The reuse ledger

The reuse ledger records where each conref and key reference went, so you can confirm that a value still changes in one place after the migration.

Before conversion, MANIFEST replaces each conref, key reference, condition and ID with a numbered placeholder and writes it to the ledger. After conversion it checks that every placeholder survived exactly once, then turns each one into its MyST form:

Table 1. DITA reuse and its MyST form
DITAMyST
Block conrefAn include of a shared file
Inline conrefA substitution
Key referenceA substitution, also inside code blocks
Condition (@platform, @audience)An only block for each build
Element IDAn anchor in DITA-OT's form, topicid__elementid

The counts on the run detail must match: conrefs in the source against includes and substitutions in the output.