From 241f48e287db1bd93afe86eacd21358e3063b05e Mon Sep 17 00:00:00 2001 From: nojaf Date: Thu, 7 Dec 2023 08:38:13 +0100 Subject: [PATCH 1/3] Use empty replacement for fsdocs-meta-tags in API docs. --- src/FSharp.Formatting.ApiDocs/GenerateHtml.fs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs b/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs index f6176fb68..5190acafb 100644 --- a/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs +++ b/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs @@ -663,10 +663,11 @@ type HtmlRender(model: ApiDocModel, ?menuTemplateFolder: string) = [| yield! parameters yield (ParamKeys.``fsdocs-list-of-namespaces``, toc) yield (ParamKeys.``fsdocs-content``, content.ToString()) - yield (ParamKeys.``fsdocs-source``, "") - yield (ParamKeys.``fsdocs-tooltips``, "") + yield (ParamKeys.``fsdocs-source``, String.Empty) + yield (ParamKeys.``fsdocs-tooltips``, String.Empty) yield (ParamKeys.``fsdocs-page-title``, pageTitle) yield (ParamKeys.``fsdocs-page-content-list``, PageContentList.EmptyContent) + yield (ParamKeys.``fsdocs-meta-tags``, String.Empty) yield! globalParameters |] let collection = model.Collection From 82971e09cb9c769d4fd4764f4fabdd97f53ae4a8 Mon Sep 17 00:00:00 2001 From: nojaf Date: Thu, 7 Dec 2023 08:39:01 +0100 Subject: [PATCH 2/3] Add release note. --- RELEASE_NOTES.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 5ae753cc9..8d71f5bc4 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,10 @@ # Changelog +## 20.0.0-alpha-015 - 2023-12-07 + +### Fixed +* Use empty replacement for `{{fsdocs-meta-tags}` in API doc pages. [#892](https://github.com/fsprojects/FSharp.Formatting/pull/892) + ## 20.0.0-alpha-015 - 2023-12-06 ### Fixed From 8ee611ef5bf326aaed6bb6daa53f61e5a38c1b02 Mon Sep 17 00:00:00 2001 From: nojaf Date: Thu, 7 Dec 2023 08:39:15 +0100 Subject: [PATCH 3/3] Bump version --- RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 8d71f5bc4..00f1f69dc 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,6 @@ # Changelog -## 20.0.0-alpha-015 - 2023-12-07 +## 20.0.0-alpha-016 - 2023-12-07 ### Fixed * Use empty replacement for `{{fsdocs-meta-tags}` in API doc pages. [#892](https://github.com/fsprojects/FSharp.Formatting/pull/892)