Skip to content

docs: a first-impression README, a root contributing guide, and a support page - #979

Merged
Blind-Striker merged 2 commits into
masterfrom
docs/first-impression
Nov 23, 2026
Merged

Blind-Striker merged 2 commits into
masterfrom
docs/first-impression

Conversation

@Blind-Striker

@Blind-Striker Blind-Striker commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

What

A first-impression pass over the documentation a new visitor reads first.

  • The README opens with what the SDK lets a program do, in this order:

    • the four runnable apps that show it, one table row each;
    • installation;
    • a bounded streaming example.

    The reference material it carried moves to the guide pages that own it.

  • The contributing guide moves to the repository root and names the local check a change needs.

  • A support page says where questions, bugs and security reports go, and which release gets fixes.

  • A new guide page covers supported .NET versions, versioning, and support.

The merge waits for the maintainer's word on this pull request.

Files

File Change
README.md Rewritten: what you can build, installation, quick start with the bounded streaming example, why, API coverage, documentation, versions and support, status, known issues, contributing and support
.github/CONTRIBUTING.md → CONTRIBUTING.md Moved to the root (git mv) and revised. Its links are written for the root. The README's two references are the only inbound links, and they are updated
.github/SUPPORT.md New: getting help (questions, bugs, security), then the support policy
docs/guide/versioning-and-support.md New: supported .NET versions, costs on the older assets, what a version number promises, and which release is supported
docs/guide/getting-started.md Receives the nightly-builds recipe (anchor #nightly-builds-github-packages) and the area table. Its nightly relay points at the new section
docs/guide/streaming.md Receives the deadline example with its cancellation filter. The durable-log note adds "confirmed at the pin (v2.3.2)", which the consumer-pin guard keeps current
docs/guide/connection-modes.md Receives the dependency-injection worked example, in place of its pointer to the README
docs/guide/experimental.md Receives what "experimental" means: it follows upstream's /api/experimental/ route, it is not a statement about quality, and the marker leaves when upstream moves the route
docs/guide/README.md Nine pages, the new row, and the Getting started row and closing sentence updated
.github/ISSUE_TEMPLATE/config.yml A contact link "Ask a question" to the Q&A category of Discussions. The existing links and blank_issues_enabled: false are unchanged
CHANGELOG.md The nightly link points at the getting-started section
tests/OpenCode.Sdk.Tools.Tests/Packaging/PackedReadmeTests.cs See below

Each guide page that receives text gets its Date: line updated.

Questions go to Discussions. The README's contributing-and-support section, .github/SUPPORT.md, and the issue chooser's new contact link send usage questions to the Q&A category of Discussions. The contributing guide sends questions to .github/SUPPORT.md, so it needs no change.

The packed-README test

The packed-README comparison needed a literal backslash in the repository README, to prove the pack's README writer keeps backslashes. The only backslashes were the nightly recipe's shell continuations, and that recipe moves to the getting-started guide.

  • The byte-for-byte comparison stays and still covers a semicolon and a percent sequence.
  • The backslash proof moves to a fixture test. It runs the repository's own WritePackedReadme task, through Directory.Build.targets, on a fixture with a backslash continuation, a semicolon, a %2F and a master link, and compares the output byte for byte.
  • It proves what it claims:
    • it passes on the real writer;
    • it fails on a local mutant that turns backslashes into slashes, the item-list behaviour on Linux and macOS.

Verification

The full local gate passed on the parent of the last change, which added only the question route in Markdown and YAML. On this head, whitespace and the Tools tests (2,875, the documentation gates included) were rerun and passed. The full gate:

  • the build, with 0 warnings;
  • whitespace, style, Slopwatch, clones;
  • generate --verify and refresh-spec --verify;
  • both packs, validated against 2.0.1;
  • the tests:
    • OpenCode.Sdk.Tests, 4,959 on net10.0 and 4,959 on net11.0;
    • Tools 2,875, Extensions 42, HQ 92;
    • 0 failed in all;
  • the service elections 22 of 22 and Native AOT 3 of 3;
  • the net472 build and a clean tree.

The guards this change depends on, each also run on its own:

  • the snippet compile guard, 60 tests: every C# fence in the README and the guides compiles, including the new README example and the two fences that moved into guides;
  • the README guide-table tests, 2;
  • the consumer-pin guard tests, 12;
  • the packed-README tests, 5.

The README streaming example is analyzer-clean. It was compiled once as a console program referencing the SDK, under the repository's analyzers with warnings as errors:

  • under the application-code rule set the repository applies to its playground apps: 0 warnings and 0 errors. That set turns off only CA2007, MA0004 and VSTHRD111, the library-only ConfigureAwait rules;
  • under the library rule set: only those three ConfigureAwait rules report;
  • CA1849, VSTHRD103, MA0042 and S6966 report in neither configuration.

Links: every link in the changed files resolves against the tree, 203 in all, heading anchors included. That covers relative links and blob/master links to files in this repository.

…port page

The README now opens with what the SDK lets a program do, the four
runnable apps that show it, installation, and a bounded streaming
example; the reference material it carried moves to the guide pages
that own it. The contributing guide moves to the repository root and
names the local check a change needs. A support page says where
questions, bugs and security reports go and which release gets
fixes, and a new guide page covers supported .NET versions,
versioning, and support.

The getting-started guide receives the nightly-builds recipe and the
area table, the streaming guide the deadline example and the current
pin's durable-log evidence, the connection-modes guide the
dependency-injection worked example, and the experimental guide what
"experimental" means. The guide index lists the ninth page, and the
changelog's nightly link follows the recipe.

The packed-README test keeps its byte-for-byte comparison for
semicolons and percent sequences; its backslash proof moves to a
fixture run through the README writer, because the new README has no
backslash.
…st tests

The top row carries the NuGet, CI, Windows test and license badges.
The Windows leg runs the most tests, and its badge's own label says
tests, so the top row names no OS. The status table keeps all three
OS rows.
@Blind-Striker
Blind-Striker added this pull request to the merge queue Nov 23, 2026
Merged via the queue into master with commit bb5c116 Nov 23, 2026
15 checks passed
@Blind-Striker
Blind-Striker deleted the docs/first-impression branch November 23, 2026 11:38
@Blind-Striker Blind-Striker mentioned this pull request Nov 24, 2026
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