Skip to content

refactor!: retire the markdown sidecar for XML documentation - #41

Merged
StevenTCramer merged 5 commits into
masterfrom
task/032-remove-xml-docs-to-markdown-analyzer-and-generator
Nov 8, 2026
Merged

StevenTCramer merged 5 commits into
masterfrom
task/032-remove-xml-docs-to-markdown-analyzer-and-generator

Conversation

@StevenTCramer

Copy link
Copy Markdown
Contributor

Summary

XML documentation stays in the C# file. The TW0002 analyzer, both TW0003 generator files, the code-fix setup doc, the XMLDoc template pages, and the markdown-only test fixtures are deleted. Release tracking lists TW0001 and TW0007. Those retired ids are not reused. Package tags are TimeWarp; Analyzers. The packed nuspec tags are TimeWarp Analyzers. The package id is still TimeWarp.SourceGenerators.

Task 016 was already archived on origin-home (5e02ad4). Its draft stays under kanban/archived/016-create-xml-docs-to-markdown-code-fix/ and is not part of a project. Task 013 was archived from origin-home with ganda kanban archive 013 and landed as 6d2a467. This branch does not edit that file. kanban/done/** was not edited.

KebabCaseTest.GetTestMessage and PascalCaseTest.GetPascalMessage were implementing partials whose other half came from the generator. They are ordinary methods so the TW0001 console smoke still compiles. The test console no longer passes markdown in as additional files.

./bin/dev build succeeded with 0 warnings and 0 errors and packed artifacts/packages/TimeWarp.SourceGenerators.1.0.0-beta.11.nupkg. ./bin/dev test printed the four console lines and reported Passed 11, Failed 0. ganda repo audit then passed 36, failed 0, skipped 3. --fix wrote the local ignored VS Code window title. The post-fix dev-cli self-install failed with the known MSB3030 missing dev.xml. ./bin/dev --version still runs.

Spikes under spikes/partial-properties-csharp13/ still describe the old generator. They are not live docs and were left in place.

The review fix pass corrects three doc issues. The four overview pages now use the same wording: the package generates no source, TW0001 runs as an incremental generator that only reports diagnostics, and TW0007 is a diagnostic analyzer. documentation/developer/conceptual/analyzer-release-tracking.md records that TW0002 and TW0003 were removed unshipped in task 032 and must not be reused. AnalyzerReleases.Unshipped.md is still only the live-rule table. The partial-property note says field ?? "" keeps the getter from returning null, so nullable analysis does not warn (CS8618).

After that wording change, the stale-phrase search printed nothing. The shared sentence is in all four overview pages. TW0002 and TW0003 appear only on the Retired ids line. ./bin/dev build succeeded with 0 warnings and 0 errors. ./bin/dev test printed the four console lines and reported Passed 11, Failed 0. ganda repo audit passed 36, failed 0, skipped 3.

Test plan

rg -n "does not ship a source generator|satisfies definite assignment" documentation

Kanban task 032
Session: Grok 01a1bc51-a208-7a53-a024-65c8ebeb9160

StevenTCramer and others added 5 commits November 9, 2026 00:59
XML documentation stays in the C# file. The analyzer that asked to move
those comments out, and the generator that turned a sibling markdown file
into XML docs, are gone. The package still ships the file-name and global
usings analyzers.

why: task 032, Steve 2026-11-09

Co-Authored-By: grok <noreply@x.ai>
TW0001 is an incremental generator that only reports diagnostics, so the
overviews cannot claim the package ships no source generator. The retired
TW0002 and TW0003 ids are named so a later rule does not reuse them. The
partial-property note is about nullable analysis, not definite assignment.

why: task 032 review round 1

Co-Authored-By: grok <noreply@x.ai>
@StevenTCramer
StevenTCramer merged commit f1fa817 into master Nov 8, 2026
1 check passed
@StevenTCramer
StevenTCramer deleted the task/032-remove-xml-docs-to-markdown-analyzer-and-generator branch November 8, 2026 18:31
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