Commit b942f68
[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
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments