Skip to content

docs: improve navigation and consolidate redundant docs - #169

Merged
pedrosakuma merged 2 commits into
mainfrom
docs/review-navigation-and-consolidation
Aug 29, 2026
Merged

docs: improve navigation and consolidate redundant docs#169
pedrosakuma merged 2 commits into
mainfrom
docs/review-navigation-and-consolidation

Conversation

@pedrosakuma

Copy link
Copy Markdown
Owner

Summary

Review of the docs/ folder for navigability and content redundancy.

Navigation

  • Main README.md now links to the full docs/README.md index (previously only listed 5 of 13 docs).
  • docs/README.md now links to the Diagnostics/README.md and Helpers/README.md source-level references, which weren't reachable from the docs index.

Content consolidation

  • Removed SPAN_READER_EXTENSIBILITY.md and SPAN_READER_INTEGRATION.md — both were point-in-time PR/implementation reports ("Status: COMPLETED", "Files Modified", test-count checkmarks) whose technical content (SpanParser<T>, TryReadWith, schema evolution/non-blittable examples) was already duplicated almost verbatim in SPAN_READER_README.md.
  • Merged VALIDATION_EXAMPLE.md into VALIDATION_CONSTRAINTS.md as a short "Quick Example" section instead of a near-duplicate standalone doc (same schema, same generated code, same Validate/TryValidate/CreateValidated walkthrough).
  • Rewrote ARCHITECTURE_DIAGRAMS.md: it was internally contradictory (332 vs 97 lines for the same orchestrator in two diagrams), missing the DispatcherGenerator/ValidationGenerator components entirely, and had stale test counts. Refreshed with current line counts and verified test counts (193 unit + 168 integration tests, confirmed via dotnet test).

Verification

  • Confirmed no dangling markdown links to the removed files (grep across the repo).
  • Ran dotnet test on both unit and integration test projects to get accurate current counts for ARCHITECTURE_DIAGRAMS.md.

Docs-only change; no source code modified.

pedrosakuma and others added 2 commits April 30, 2026 15:30
…nerated types (#167)

Closes #166: schemas can now annotate fields with semanticType (e.g.
UTCTimestampNanos, LocalMktDate, MonthYear) and the generator emits a
sibling typed accessor {Field}Value alongside the raw wire field. Eight
FIX/SBE built-in converters ship out of the box; users can register or
override via [assembly: SbeSemanticType("Name", typeof(MyConverter))]
where MyConverter implements ISbeSemanticConverter<TWire,TSemantic>.
Optional fields produce nullable accessors. Field-level semanticType
wins, otherwise the field inherits its referenced type's semanticType
(common FIX/B3 pattern). Types already producing a typed helper struct
(e.g. LocalMktDate -> DateOnly) are left untouched to avoid double
conversion. Raw wire accessor is never replaced.

Closes #167: SbeDispatcher, ISbeMessageHandler, {Msg}VersionMap,
{Msg}DataReader, and {X}Validation are now emitted as partial so
consumers can extend them in user code without forking the generator.
Layout-bearing blittable structs were already partial.

Adds diagnostics SBE016 (wire-type mismatch), SBE017 (does-not-implement
ISbeSemanticConverter), SBE018 (semantic accessor name collision).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- README.md/docs/README.md: link full documentation index from the main
  README, and add missing links to Diagnostics/Helpers READMEs from the
  docs index.
- Remove SPAN_READER_EXTENSIBILITY.md and SPAN_READER_INTEGRATION.md:
  these were point-in-time PR/implementation reports whose technical
  content (SpanParser<T>, TryReadWith, schema evolution examples) was
  already duplicated almost verbatim in SPAN_READER_README.md.
- Merge VALIDATION_EXAMPLE.md into VALIDATION_CONSTRAINTS.md as a short
  'Quick Example' section instead of a near-duplicate standalone doc.
- Rewrite ARCHITECTURE_DIAGRAMS.md: fix internal contradiction (332 vs
  97 lines for the same orchestrator), add the missing
  DispatcherGenerator/ValidationGenerator components, and refresh line
  counts and test counts (193 unit + 168 integration, verified via
  dotnet test) to match the current codebase.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pedrosakuma
pedrosakuma merged commit dae2ec4 into main Aug 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant