Skip to content

Commit b942f68

Browse files
github-actions[bot]Copilotdsyme
authored
[Repo Assist] Split XmlDocReader out of SymbolReader.fs (#1073)
* Split XmlDocReader out of SymbolReader.fs Extract XML and Markdown documentation comment reading helpers (~440 lines) into a new XmlDocReader.fs file. These functions form a coherent unit (XML → ApiDocComment conversion) that does not depend on ReadingContext; they only need CrossReferenceResolver and the ApiDoc* types. - New: src/FSharp.Formatting.ApiDocs/XmlDocReader.fs - removeSpaces - readMarkdownCommentAsHtml - findCommand - readXmlElementAsSingleSummary / readXmlElementAsHtml - readXmlCommentAsHtmlAux / readXmlCommentAsHtml / readNamespaceDocs - combineHtml / combineHtmlOptions / combineComments / combineNamespaceDocs - Modified: SymbolReader.fs shrinks from 1703 → 1263 lines Part of #1022. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: trigger checks --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Don Syme <dsyme@users.noreply.github.com>
1 parent 1d20e09 commit b942f68

3 files changed

Lines changed: 458 additions & 456 deletions

File tree

src/FSharp.Formatting.ApiDocs/FSharp.Formatting.ApiDocs.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<Compile Include="ApiDocTypes.fs" />
1414
<Compile Include="CrossReferenceResolver.fs" />
1515
<Compile Include="TypeFormatter.fs" />
16+
<Compile Include="XmlDocReader.fs" />
1617
<Compile Include="SymbolReader.fs" />
1718
<Compile Include="GenerateModel.fs" />
1819
<Compile Include="Categorise.fs" />

0 commit comments

Comments
 (0)