Skip to content

Give the README and package READMEs the shared nullean shape - #50

Merged
Mpdreamz merged 1 commit into
mainfrom
docs/readme-standard
Nov 11, 2026
Merged

Mpdreamz merged 1 commit into
mainfrom
docs/readme-standard

Conversation

@Mpdreamz

Copy link
Copy Markdown
Contributor

Gives the root README and both package READMEs the shared nullean structure, with every snippet compiling against the repository.

Prompt summary: root and package READMEs share common branding and structure; package READMEs are valid for nuget.org; images where they show something off.

What

  • readme.md becomes README.md and follows standards/README.template.md: the nullean mark (proc has no lockup of its own), tagline, one badge row (NuGet, CI; proc has no docs site), a short C# and F# sample in place of an image (proc produces nothing visual), install, quick start, a packages table and links.
  • The C# reference moves from the root README into src/Proc/README.md, the README nuget.org shows for Proc. That copy had drifted behind the root one (no .NET 11 section, outdated Linux SIGINT text). The root README links to it.
  • src/Proc.Fs/README.md gets the template's header (logo, tagline, badge, install, quick start) and "Learn more"; its content is unchanged apart from heading levels.
  • Snippets that did not compile are fixed:
    • Proc.Start("ipconfig", TimeSpan.FromSeconds(10), new ConsoleOutColorWriter()) and Proc.Start(args, TimeSpan.FromSeconds(10)): no such overloads, so Timeout and ConsoleOutWriter now go on StartArguments.
    • F# timeout (TimeSpan.FromSeconds(10)) is ambiguous on .NET 9+; it is now TimeSpan.FromSeconds 10..
    • let process = exec { ... } used an identifier F# reserves; it is now running.
  • Claims checked against the code: "a default timeout of 4 minutes" is dropped (without Timeout, Proc.Exec and Proc.Start wait for the process to exit). "Dependency free" is dropped from the README because Proc references System.Reactive. The csproj Description still says it and is left alone.

Verify

  • mise run pack, then scripts/check-package-readme.sh build/output/*.nupkg:
    Proc.0.20.1-canary.0.1.nupkg: ok
    Proc.Fs.0.20.1-canary.0.1.nupkg: ok
    
    unzip -p confirms each package carries its own README.
  • Every csharp block (13) compiled in a scratch net11.0 project referencing src/Proc, and every fsharp block (25) in one referencing src/Proc.Fs. Snippets were wrapped in methods and placeholder values (image, dir, ...) were declared. Mutating a snippet makes each build fail.
  • mise run check (curb + zizmor) passes.

🤖 Generated with Claude Code

The root README follows the shared template: logo, tagline, one badge row, a short code sample, install, quick start,
a packages table and links. The C# reference moves into src/Proc/README.md, which is what nuget.org shows for Proc,
and replaces the copy there that had drifted behind the root README.

Snippets now compile against the repository: Proc.Start has no (binary, TimeSpan, writer) overload, so the timeout and
console writer go on StartArguments, and the F# exec example's TimeSpan.FromSeconds(10) was ambiguous on .NET 9+. The
"default timeout of 4 minutes" claim is dropped: without Timeout every call waits for the process to exit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Mpdreamz Mpdreamz added the documentation Documentation only (patch) label Nov 11, 2026
@Mpdreamz
Mpdreamz merged commit 26d19f5 into main Nov 11, 2026
9 checks passed
@Mpdreamz
Mpdreamz deleted the docs/readme-standard branch November 11, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation only (patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant