Skip to content

Commit

Permalink
Merge pull request #892 from nojaf/meta-tags-in-api-docs
Browse files Browse the repository at this point in the history
Use empty replacement for fsdocs-meta-tags in API docs.
  • Loading branch information
nojaf authored Dec 7, 2023
2 parents c28f982 + 8ee611e commit ba65c87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 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)

## 20.0.0-alpha-015 - 2023-12-06

### Fixed
Expand Down
5 changes: 3 additions & 2 deletions src/FSharp.Formatting.ApiDocs/GenerateHtml.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba65c87

Please sign in to comment.