diff --git a/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs b/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs
index 41fb2dcda..06643a94e 100644
--- a/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs
+++ b/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs
@@ -707,7 +707,7 @@ type HtmlRender(model: ApiDocModel, ?menuTemplateFolder: string) =
printfn " Generating %s" outFile
SimpleTemplating.UseFileAsSimpleTemplate(substitutions, templateOpt, outFile)
- for info in model.EntityInfos |> List.filter (fun info -> not info.Entity.Exclude) do
+ for info in model.EntityInfos do
let content = div [] (entityContent info)
let pageTitle = sprintf "%s (%s)" info.Entity.Name collectionName
diff --git a/src/FSharp.Formatting.ApiDocs/GenerateMarkdown.fs b/src/FSharp.Formatting.ApiDocs/GenerateMarkdown.fs
index 82badd6ab..0d698b07e 100644
--- a/src/FSharp.Formatting.ApiDocs/GenerateMarkdown.fs
+++ b/src/FSharp.Formatting.ApiDocs/GenerateMarkdown.fs
@@ -447,7 +447,7 @@ type MarkdownRender(model: ApiDocModel, ?menuTemplateFolder: string) =
printfn " Generating %s" outFile
SimpleTemplating.UseFileAsSimpleTemplate(substitutions, templateOpt, outFile)
- for info in model.EntityInfos |> List.filter (fun info -> not info.Entity.Exclude) do
+ for info in model.EntityInfos do
let content = MarkdownDocument(entityContent info, Map.empty)
let pageTitle = sprintf "%s (%s)" info.Entity.Name collectionName
diff --git a/src/FSharp.Formatting.ApiDocs/GenerateModel.fs b/src/FSharp.Formatting.ApiDocs/GenerateModel.fs
index 52f2b68e0..3379ef062 100644
--- a/src/FSharp.Formatting.ApiDocs/GenerateModel.fs
+++ b/src/FSharp.Formatting.ApiDocs/GenerateModel.fs
@@ -2272,19 +2272,10 @@ module internal SymbolReader =
// 2.
// ///
//
- // So, we need to let the 'null' case handle this to extract the if it's there
- //
// | null when String.IsNullOrEmpty el.Value ->
// cmds, ApiDocComment.Empty, None
| null ->
- // We let through XML comments without a summary tag. It's not clear
- // why as all XML coming through here should be from F# .XML files
- // and should have the tag. It may be legacy of previously processing un-processed
- // XML in raw F# source.
- //
- // 9-Jan-23: See comment above for at least one reason why we pass through here now
-
let doc, nsels = readXmlCommentAsHtmlAux false ctx.UrlMap el cmds
let nsdocs = readNamespaceDocs ctx.UrlMap nsels
@@ -2865,7 +2856,7 @@ type ApiDocModel internal (substitutions, collection, entityInfos, root, qualify
member _.Collection: ApiDocCollection = collection
/// The full list of all entities
- member _.EntityInfos: ApiDocEntityInfo list = entityInfos
+ member _.EntityInfos: ApiDocEntityInfo list = entityInfos |> List.filter (fun info -> not info.Entity.Exclude)
/// The root URL for the entire generation, normally '/'
member _.Root: string = root