Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit df72efe

Browse files
dsymeDon Syme
authored andcommitted
Check XML doc parameter names for FSharp.Core via opt-in checking (dotnet#10118)
* optionally check xml doc comments for xml validity * check xml docs * check xml docs * xml checks 2 * fix baselines * check parameter names * fix baseline * check parameters names * allow delegate param doc * fix FSHarp.Core doc problems * fix docs * fix docs * fix diagnostics * fix diagnostics * update baselines * provide elaborated xml docs in FCS API * fix test * use 38 ver * fix build * check docs of FCS * start to fix FCS docs * complete some FCS docs and enable doc checking * fix duplicate checking * fix duplicate checking * update baselines and xlf * correct xml text for legacy test Co-authored-by: Don Syme <[email protected]>
1 parent 2e37cfd commit df72efe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DocComments/XMLDocumentation.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ module internal XmlDocumentation =
371371
| FSharpXmlDoc.None -> ()
372372
| FSharpXmlDoc.XmlDocFileSignature(filename,signature) ->
373373
documentationProvider.AppendDocumentation(xmlCollector, exnCollector, filename, signature, showExceptions, showParameters, paramName)
374-
| FSharpXmlDoc.Text(rawXml) ->
375-
let processedXml = ProcessXml(rawXml)
374+
| FSharpXmlDoc.Text(_rawText, processedXml) ->
375+
let processedXml = ProcessXml("\n\n" + String.concat "\n" processedXml)
376376
documentationProvider.AppendDocumentationFromProcessedXML(xmlCollector, exnCollector, processedXml, showExceptions, showParameters, paramName)
377377

378378
let private AddSeparator (collector: ITaggedTextCollector) =

0 commit comments

Comments
 (0)