Skip to content

docs: fix the five places the consumer docs disagree with the 10.0.0 code - #282

Merged
CaffeinatedCoder merged 2 commits into
mainfrom
docs/278-docs-mismatches
Oct 19, 2026
Merged

CaffeinatedCoder merged 2 commits into
mainfrom
docs/278-docs-mismatches

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #278

Problem

A docs-against-code check on main e465c45 ran every 10.0.0 sample. All of them matched except five places:

  1. The span sample in docs/serialization.md threw FormatException, because line[7..29] cuts off the closing ].
  2. The EF Core README said everything not in its in-memory table runs in the database. That's false for Shift, Expand, Split, Values(step) and the calendar factories over a column.
  3. The core README and the NuGet descriptions left out the float family.
  4. The NodaTime README credited the EF satellite with the RangeAgg/RangeIntersectAgg overloads.
  5. docs/architecture.md named DoubleRange instead of Float64Range.

Change

  • docs/serialization.md: the slice is now line[7..30].
  • New test, DocumentedSampleTests (conventions project): reads the span sample from the doc and runs it, so the doc and the code can't drift apart again.
  • EF Core README:
    • The in-memory table gains Values(step)/Split, Shift/Expand and the calendar factories over a column, as in docs/efcore.md "What runs where".
    • The operator table gains CompareTo against 0, and the operand sentence now covers a range with a multirange argument.
  • Core README and both NuGet <Description>s: name Float64Range/Float32Range and their sets. The descriptions also list the 10.0.0 additions (Gap/Gaps, Shift/Expand, Split, the calendar factories, IComparable, CompareTo in SQL).
  • NodaTime README: the aggregate overloads are this package's, registered by the EF satellite. The two sentences claim E32 quotes are untouched.
  • docs/architecture.md: Float64Range in the worked example, and the float ranges on the continuous axis.
  • AGENTS.md: the intro names the float family (the issue's comment).
  • "PostgreSQL 14+" is dropped at docs/ranges.md:707 and docs/efcore.md:642, where it read like a floor. Claim 710's quote follows the change.

PR #281 touches the changelogs, CONTRIBUTING and docs/migration.md. This one doesn't, so the two don't conflict.

Tests

  • DocumentedSampleTests fails on the old slice with the same FormatException a reader got, and passes on the new one.
  • Conventions 403/403 (including OracleCatalogueTests for the changed quote), unit 1,391/1,391.
  • Full build: 0 errors. The 104 warnings are the existing NU1902/NU1903 dependency advisories.

🤖 Generated with Claude Code

…code

The span sample in docs/serialization.md sliced line[7..29], one character short of the literal, so
it threw FormatException for everyone who ran it; it slices [7..30] now, and DocumentedSampleTests
reads the sample from the doc and runs it, so the two can't drift apart again (it fails on the old
slice with the same FormatException).

The EF Core README's in-memory table now lists Shift, Expand, Split, Values(step) and the calendar
factories over a column, as docs/efcore.md does, and its operator table gains CompareTo against 0.
The core README and both NuGet descriptions name the float family and the 10.0.0 additions. The
NodaTime README credits its own package with the RangeAgg/RangeIntersectAgg overloads, which the EF
satellite only registers. docs/architecture.md names Float64Range rather than DoubleRange and puts
the float ranges on the continuous axis; AGENTS.md's intro names them too. "PostgreSQL 14+" goes
from two places where it read like a floor (the claim quoting one follows).

Closes #278

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 10.0.0 milestone Oct 19, 2026
@CaffeinatedCoder CaffeinatedCoder added documentation Improvements or additions to documentation area/ranges Range unions, variants and the shape engines package/nodatime Affects CodoMetis.ValueRanges.NodaTime package/efcore Affects CodoMetis.ValueRanges.EFCore.PostgreSQL area/literals Parse, TryParse and formatting package/core Affects CodoMetis.ValueRanges labels Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/literals Parse, TryParse and formatting area/ranges Range unions, variants and the shape engines documentation Improvements or additions to documentation package/core Affects CodoMetis.ValueRanges package/efcore Affects CodoMetis.ValueRanges.EFCore.PostgreSQL package/nodatime Affects CodoMetis.ValueRanges.NodaTime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consumer docs disagree with the 10.0.0 code in five places

1 participant