diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-11 12:46:39 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-12 12:14:39 -0400 |
| commit | 90067bfa5b4d2fa21e7f744a1a40880e0c3945df (patch) | |
| tree | 68260f46585eec7cb68d4a7c0794b2c14a426c9b /test/run-tests.sh | |
| parent | ocda: heading cross reference linking (diff) | |
ocda: one constructor for doc_matters
ST_DocumentMatters was declared inside spineAbstraction(), closing over
the parser's locals, so only the parser could build it. A document
loaded from a .ssp or a .ocda.db has to arrive at the same value from
what the artefact carries, and had nothing to build.
It is moved to sisudoc.ocda.meta.doc_matters as docMattersMake(), taking
the seven things a document is described by: the run (program_info,
opt_action), where it is and what it is called (manifest), its header
and the site config (conf_make_meta), its counts and indexes
(ST_DocHas), its source digests, and the files its markup inserted. The
parser fills them from what it has just parsed; the loader will fill
them from the artefact.
Pure refactor: the struct's members are unchanged, only where it is
declared and where its inputs come from.
(assisted by Claude-Code)
Diffstat (limited to 'test/run-tests.sh')
0 files changed, 0 insertions, 0 deletions
