Skip to content

[Repo Assist] Add /// doc comments to batch 3 modules (#1035)#1049

Merged
dsyme merged 2 commits intomainfrom
repo-assist/issue-1035-comment-code-batch3-1772189271-4e2f44ac97a8ffeb
Feb 27, 2026
Merged

[Repo Assist] Add /// doc comments to batch 3 modules (#1035)#1049
dsyme merged 2 commits intomainfrom
repo-assist/issue-1035-comment-code-batch3-1772189271-4e2f44ac97a8ffeb

Conversation

@github-actions
Copy link
Contributor

🤖 This PR was created by Repo Assist, an automated AI assistant.

Continues work from #1037 (batch 1, merged) and #1043 (batch 2, merged), addressing #1035 ("Comment all the code in the repository").

Summary

Adds /// XML doc comments to 4 more source files:

File Lines What was added
ToolTipReader.fs 122 Module-level doc, linesFromTaggedText
FsxFormatting.fs 89 Module-level doc, formatAsFsx
MarkdownUtils.fs 359 Module-level doc + 16 helper functions (isCode, isCodeOutput, getExecutionCount, getCode, getCodeOutput, splitParagraphs, adjustFsxCodeForConditionalDefines, applySubstitutions*, map* functions)
Formatting.fs 298 Module-level doc, transformDocument

Comment style followed

  • Modules: descriptive XML doc explaining their role in the pipeline
  • Public/internal functions: succinct single-line (or short multi-line) docs explaining purpose, parameters, and return value where non-obvious
  • No comments added to trivially self-evident one-liners

Test Status

✅ Build succeeded: dotnet build FSharp.Formatting.sln --configuration Release — 0 errors
✅ Format: dotnet fantomas — all 4 files unchanged after formatting check

What's next (future batches)

Larger files still needing comments:

Part of #1035

Generated by Repo Assist for issue #1035

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@afb00b92a9514fee9a14c583f059a03d05738f70

Add XML doc and /// comments to 4 files with minimal documentation:
- ToolTipReader.fs: module-level doc, linesFromTaggedText
- FsxFormatting.fs: module-level doc, formatAsFsx
- MarkdownUtils.fs: module-level doc, isCode, isCodeOutput, getExecutionCount,
  getCode, getCodeOutput, splitParagraphs, adjustFsxCodeForConditionalDefines,
  applySubstitutionsInText, applyCodeReferenceResolver, applyDirectLinkResolver,
  mapText, mapInlineCode, mapDirectLink, mapSpans, mapParagraphs,
  applySubstitutionsInMarkdown
- Formatting.fs: module-level doc, transformDocument

Part of the ongoing effort tracked in #1035.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dsyme dsyme marked this pull request as ready for review February 27, 2026 11:04
@dsyme dsyme merged commit 8af7a46 into main Feb 27, 2026
4 checks passed
@dsyme dsyme deleted the repo-assist/issue-1035-comment-code-batch3-1772189271-4e2f44ac97a8ffeb branch February 27, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comment all the code in the repository

1 participant