Skip to content

Latest commit

 

History

History
1386 lines (885 loc) · 77.9 KB

RELEASE_NOTES.md

File metadata and controls

1386 lines (885 loc) · 77.9 KB

Changelog

[23.0.0-alpha.9] - 2026-11-06

Changed

  • Avoid recomputing List.length on the shrinking remainder for every scanned character when splitting a Markdown pipe-table row into cells (pipeTableFindSplits in MarkdownTableParser.fs). The scan now tracks the number of consumed characters incrementally, turning an O(n²) split into an O(n) one for rows with many delimiters, with no behavior change.
  • Avoided a per-character Seq.windowed/String() allocation in StartsWithNTimesTrimIgnoreStartWhitespace, the active pattern used to count repeated fence characters (` / ~) when parsing code fences and headers. The count is now computed with String.CompareOrdinal over string offsets, with no intermediate substring allocations. Behavior is unchanged.

Fixed

  • A <see langword="..."/> in a doc comment rendered as nothing, so Returns <see langword="true"/> when … read "Returns when …". The API docs show the keyword as inline code, the same as <c>true</c>, and a tool tip on a code snippet keeps the word. #1371

[23.0.0-alpha.8] - 2026-09-18

Added

  • Tool tips on F# snippets are syntax highlighted. The compiler hands a signature over as runs it has already classified, and ToolTipReader was flattening them into one string, so val printfn: format: Printf.TextWriterFormat<'T> -> 'T rendered as undifferentiated text. The runs keep their classification now and a tip is colored by the same --code-* rules as the snippet it describes, so a keyword, a type, a function and a type parameter look the same whether you read them in the code or in the tip. #1336

  • A signature too wide for its tool tip is laid out over several lines instead of wrapping wherever the line runs out. It breaks after the name, after each parameter and before the result, the parameters indented under the name and the result under them, the way a formatter would write it. The compiler's own parser decides where those points are, so the breaks land on syntax rather than a guess, and a line that fits, or that is not a signature, is left as it was. Nearly every line this touched was a member of a type: one with six optional parameters ran to 600 characters. #1336

Changed

  • A tool tip opens with the doc comment and the signature follows it, where the signature used to come first. The doc text is shown in the color a comment has in a snippet. #1336

  • Code snippets are no longer laid out with a table. A snippet is a <div class="fsdocs-snippet"> holding one <pre class="fsdocs-snippet-lines"> for the line numbers and one <pre class="fssnip"> for the code, placed side by side with CSS grid. Markdown code blocks, notebook output and non-F# snippets use the same wrapper, so one selector covers every code block on the page. A stylesheet that targets table.pre, td.lines, td.snippet, or the .code-block-wrapper the copy button used to insert, needs updating, and a script that looks for a snippet, such as the Mermaid recipe in the documentation, should look for .fsdocs-snippet instead of table.pre. #1336

  • Line numbers lost the : suffix and sit in a column marked aria-hidden, so a screen reader reads the code and not the numbering. The code column scrolls on its own, so the line numbers stay in view while a wide snippet scrolls. #1336

  • The default stylesheet ships a new syntax palette built from GitHub's light and dark hues. The previous one had grown a separate hue per token kind, eight of them teal or purple, on top of a dark green default text color in light mode. Tokens are grouped into roles instead: keywords, types, the modules and namespaces that hold them, callables, values, strings, and one mute for comments, fsi output, inactive code and line numbers. Modules take the green GitHub reserves for tags, so List.map String.trim reads as container then function rather than one orange run. Identifiers, operators and punctuation read as plain text. Every color is a --code-* custom property, so a site can restyle the whole scheme without touching a selector. #1336

  • ToolTipSpan gained a Token of kind: TokenKind * body: string case for a classified run of tool tip text, and ToolTipReader.stripParameterAttributes now takes and returns those runs instead of a string. Code that matches on ToolTipSpan has to handle the new case. #1336

Fixed

  • A type abbreviation in a tool tip was colored as an identifier rather than as a type, so int and bool were orange while string, option, list, array and unit were plain, in the same position of the same signature. The compiler tags an abbreviation apart from the type it stands for, and the tag was being grouped with parameters and locals. The System. qualifier of a fully written name takes the module color instead of plain for the same reason. #1336

  • A tool tip lost every line break in the signature it was showing. The compiler does not hand the break over in a tag of its own, it arrives inside a Text or Space run with the indentation of the next line attached, and only the Space case was split on. A tip is flowing text, so the browser collapsed the rest and type List<'T> ran its cases, interfaces and members together on one line. #1336

  • A doc comment reached the tool tip as the raw XML it was written as, so <summary> and <param> tags showed up in the tip. The comment is read as XML now and a <see cref="..."/> keeps the name it points at, rather than leaving a hole in the sentence it sits in. #1336

  • Several syntax token classes had no matching rule in the default stylesheet and were rendered in the plain code color: union cases (uc), F# preprocessor directives (pp), escaped characters (esc), enumeration cases (en), mutable bindings (mv), and identifiers in every non-F# language (i), which is the bulk of a C#, JavaScript, TypeScript or HTML snippet. The stylesheet was matching u, prep, e and v, names the formatters stopped emitting. Compiler errors (cerr) and omitted code (omitted) are styled for the first time. #1336

  • A code block rendered from an OtherBlock opened its wrapper element without ever closing it, leaving unbalanced HTML on the page whenever code snippet wrapping was on. #1336

[23.0.0-alpha.7] - 2026-09-15

Changed

  • The API Reference section of the menu leaves out a namespace nested in another documented namespace: Fantomas.FCS.Syntax folds into Fantomas.FCS, and the menu of a library such as Fantomas is six entries instead of twenty truncated ones. A page of a folded namespace marks the entry it sits in as the active one. #1331

  • A namespace page opens with a "Namespaces" table of the namespaces nested in it, the ones the menu folds away, each linking to its own page. The "On this page" menu and the j / k hotkeys walk them like the types and modules below. A namespace holding nothing but other namespaces gets that table too, where its page used to be empty. #1331

[23.0.0-alpha.6] - 2026-09-15

Fixed

  • The Markdown output marks the namespace of the page in the menu. The menu of the page was overwritten by the site-wide one, which marks nothing, the way the HTML output was until 23.0.0-alpha.5. #1330

  • API docs keep the comment of a member whose signature has a type abbreviation of a function type in the range of a function type, such as (string -> IsPathIgnored) * (unit -> int) with type IsPathIgnored = string -> bool. Reading the member threw ArgumentOutOfRangeException and the comment was dropped. The abbreviation is now shown under its own name, as it is everywhere else. #1327

Changed

  • The API Reference section of the menu lists the namespaces on every page of the site. The content pages got a single "All Namespaces" link instead, and only a collection named FSharp.Core got the list there, which made the menu of a content page a different menu from the one of an API page. No entry is marked active while the reader is on a content page. #1330

  • The header of that section reads "API Reference" on the API pages as well, where 23.0.0-alpha.5 made it "Namespaces". A menu template sees the same {{fsdocs-menu-header-content}} and {{fsdocs-menu-header-id}} (api_reference) on every page of the site now. The built-in menu keeps the header as the link to the index of all namespaces. #1330

[23.0.0-alpha.5] - 2026-09-15

Added

  • The API reference pages have an "On this page" menu, like the content pages do. A namespace page lists its types and modules, each linking to its own page; a type or module page lists its sections, which now carry anchors of their own (Static members, Nested modules, Inherited members had none). The index of all namespaces keeps the wide layout, since the page is already that list. The inline "Table of contents" and "Contents" blocks are gone, the menu replaces them. The menu marks the section the reader is in through the same scroll-driven animations as the content pages, over the section headings only: each tracked element costs three generated CSS rules, so a module with hundreds of members stays cheap. #1328

  • _menu_template.html and _menu-item_template.html are rendered with the substitutions of the page they go into, {{root}} among them, so a menu can link anywhere on the site and not only where fsdocs hands it a link. {{root}} is relative to the page being rendered, so {{root}}reference/index.html resolves from every depth. A key a menu template defines for itself still wins over a site-wide one of the same name. #1328

  • _menu-item_template.html can use {{fsdocs-menu-item-title}}, the hover text of an item. The API reference fills it with the full name of a namespace, where the menu shortened the entry to what tells it apart from its neighbours, and leaves it empty for an item whose text already says where it leads. #1328

Fixed

  • The API reference menu on the left lists the namespaces again. Every API page computed that menu and then had it silently replaced: the global substitutions define fsdocs-list-of-namespaces as well, with the single "All Namespaces" link meant for the content pages, and the last value for a key wins. The entries drop the prefix that all the namespaces share (FSharp.Formatting. here, Microsoft.FSharp. for FSharp.Core), which otherwise left a column of identically truncated names, and the full name is the title of the entry. The entries of the "On this page" menu carry one too, since that menu is narrow enough to cut them off. The header links to the index of all namespaces. The list of entities that used to expand under the current namespace is gone, the "On this page" menu covers it. #1328

  • The API reference menu built from _menu_template.html and _menu-item_template.html marks the namespace of the page the reader is on, and marks its own section as active so a template that folds a section away opens the one the reader is inside. It shortens an entry to the part that tells it apart from its neighbours, with the full name on the title. The Markdown output builds the same menu from the same templates and gained all of it too. Note that a templated menu renders its header as a label, where the built-in menu makes the "Namespaces" header the link to the index of all namespaces; see "Customizing menu items by template" for adding that link back. #1328

  • A menu built from _menu-item_template.html no longer escapes the text of a documentation page twice. Menu.createMenu encodes the content of an item, and the list of documents encoded it again beforehand, so a title carrying &, <, > or " reached the page as the escape sequence itself. #1328

  • The j / k hotkeys continue through the tables of the API reference: the namespaces on the index page and the types and modules on a namespace page, which have few headings of their own to stop at. The pages of a module or a type keep to their headings. The generator marks the links that take part with data-fsdocs-nav, so a link in your own content can join in as well. A marked link is only scrolled into view when it is off screen, a run of key presses walks the table instead of paging it. #1328

Changed

  • Menu.createMenu takes the substitutions of the page as its second argument, and Menu.MenuItem carries a Title field. Both are breaking for code that builds menus through FSharp.Formatting.Common. #1328

[23.0.0-alpha.4] - 2026-09-13

Added

  • The "On this page" menu of the default template marks the section the reader is in: the entry of the last heading scrolled past the top of the content gets a coloured left border, and a heading focused with the j / k hotkeys marks its entry as well. Pure CSS, through scroll-driven animations (view-timeline-name, timeline-scope, animation-timeline); browsers without them show the menu as before. The generator numbers the headings and menu entries (data-fsdocs-heading) and emits the wiring in a <style> next to the menu. The colour and the reading line are the --page-menu-active-border-color and --page-menu-reading-line variables. When the menu has its own scroll bar, j / k also scroll the entry of the focused heading into view and put its anchor in the URL (without a history entry). #1322

  • fsdocs watch shows a progress bar along the bottom of the window while it waits for the next page, which can take a while when a big script is rendered for the first time. Dev server only, it comes with the live reload script. #1322

Fixed

  • fsdocs watch renders the API Reference section of the menu with the current _menu_template.html and _menu-item_template.html after an edit; it kept the templates as they were when the watch started, until an assembly changed. #1323
  • The "All Namespaces" entry of the API Reference menu no longer carries the active class on every documentation page when menu templates are used. A page without an entry of its own, such as the docs index, showed it as the current page, and the h hotkey entered the menu there.

[23.0.0-alpha.3] - 2026-09-13

Added

  • Keyboard navigation in the default template: j / k go to the next / previous heading of the page (or the next / previous link when a menu has the focus), h / l move the focus between the main menu, the content and the page menu. Headings get a visible focus outline and a scroll margin so they are not glued to the top edge. Implemented in the new fsdocs-hotkeys.js, documented under "Keyboard navigation" in the command-line docs. #1321

Fixed

  • Link postfix FSharp.Core type constructors (list, option, voption, etc.) in API doc type signatures. Previously only the compiled name form (e.g. FSharpList) was linked; the postfix abbreviation form (e.g. int list) rendered as plain, unlinked text because the abbreviation entity has no TryFullName. The cross-reference resolver now builds the fsharp-core-docs link from the abbreviation's own name (e.g. list → fsharp-collections-list-1) instead of the abbreviated type's compiled name (e.g. FSharpList → fsharp-collections-fsharplist-1, which 404s), falling back to the abbreviated type's definition only for non-generic abbreviations such as string and obj that have no dedicated fsharp-core-docs page. #1316

[23.0.0-alpha.2] - 2026-09-10

Fixed

  • Fix tooltip not being interactive: moving the mouse from a code token into its tooltip now keeps the tooltip open, allowing users to select and copy the tooltip text. #949
  • The compiler-generated IsCase union case tester properties are no longer listed as members of a union type, and FsDocsWarnOnMissingDocs no longer reports FD0001 for them: they cannot carry XML documentation. #1313
  • fsdocs watch rebuilds a page when a file its script depends on changes, following #load transitively and #r to local files, wherever those files are (a dot folder, outside the input folder). The directives are read from the syntax tree, so a #load in a comment does not count. #1309
  • API docs keep the comment of a type abbreviation whose target is a tuple, a list or a BCL type such as string, instead of dropping it with "The entity ... was not registered before". An abbreviation page no longer lists the members of the target type (Item1, Item2, ...) as its own. #1314

[23.0.0-alpha.1] - 2026-09-08

Changed

  • Links are relative. The {{root}} substitution is now the path from the page to the root of the site (./, ../, ...) instead of the absolute site URL, so the generated site works from any host name or sub path, from the file system, and fsdocs watch can be reached through any address the server is bound to (--host 0.0.0.0, a Codespaces forward, a reverse proxy). The --root option of watch is replaced by --site-root, which only sets the site URL. The search index holds site-relative URIs that the search script prefixes with the page's root. The absolute URL of the site is available as the new {{fsdocs-site-root}} substitution (from <PackageProjectUrl> or --parameters fsdocs-site-root; a root parameter still sets it but warns); the default template uses it for og:url and twitter:site, and llms.txt links stay absolute. Custom templates that use {{root}} in metadata that must be absolute should switch to {{fsdocs-site-root}}. Notebook, script and LaTeX outputs keep the absolute site URL since they are used outside the site. The dev server serves a folder URL from its index page and redirects /folder to /folder/, as static web servers do.
  • fsdocs watch is a lazy dev server: no output folder is written, a page is built the first time it is requested and cached until a file that influences it changes (content hashes, so byte-identical rewrites invalidate nothing), static files are served from their source location, and a failing page returns a 500 while the other pages keep working. The search index is fetched when the search dialog is first opened instead of on page load. New diagnostic pages at /.fsdocs/doctor and /.fsdocs/doctor.json show the cracked projects, substitutions, templates, navigation titles, routes and cache state. --output, --clean and --saveimages are ignored by watch.
  • Project cracking evaluates the MSBuild properties of each project with dotnet msbuild --getProperty (in parallel, no design-time build) and drops test projects and executables before any expensive work. The compiler references come from a design-time build (dotnet msbuild -t:...CoreCompile -getItem:FscCommandLineArgs, one process per project, in parallel) that runs only for the documented projects and only when the API docs are generated; it is cached in .fsdocs/references. Ionide.ProjInfo is no longer used for the design-time build, only to read solution files. The .fsdocs/cache key now covers the discovered project files, Directory.Build.props, Directory.Build.targets, Directory.Packages.props and global.json, so editing those no longer serves stale project settings.
  • Properties set by MSBuild targets, such as a Version computed from a changelog by Ionide.KeepAChangelog.Tasks, are not visible to an evaluation. The substitutions are therefore recomputed from the design-time build when it runs: build uses the refined values for the API docs and the content, watch serves the evaluated values until the design-time build ran (at startup, in the background) and then rebuilds the affected pages. The doctor shows per project whether the design-time build ran, which substitutions it changed, and has a button to run it again.
  • TypeConstraintDisplayMode is a struct discriminated union, as the Ionide analyzers suggest. Source compatible, but the compiled representation changes, so a consumer needs to recompile.
  • Rewrote the Mermaid documentation recipe as docs/mermaid.md (moved from the oddly-named docs/sidebyside/sidemermaid.md) to follow the approach used by the fantomas docs: diagrams are written as plain ```mermaid fenced code blocks, which GitHub renders natively, and an _body.html script promotes those blocks into `
    ` elements on fsdocs pages. The FSharp.Formatting docs now ship that script (`docs/_body.html`), so the recipe page actually demonstrates working diagrams.
  • Bump Ionide.ProjInfo from 0.74.2 to 0.75.0 and NUnit3TestAdapter from 6.2.0 to 6.3.0. Both are routine, non-breaking updates.
  • Replace sprintf "<pre><code>" (a format string with no format arguments) with the plain string literal "<pre><code>" in HtmlFormatting.fs. This is on the hot path invoked once per rendered code/output block, and avoids the unnecessary printf-format parsing overhead for a string with no substitutions.

Added

  • Logging goes through Microsoft.Extensions.Logging. The libraries are silent by default; hosts set FSharp.Formatting.Common.Logging.LoggerFactory or call Logging.UseConsole(level). The tool has -v/--verbosity quiet|minimal|normal|detailed|diagnostic on build, watch, convert and init; normal prints one line per phase with counts and durations instead of one line per file, warnings and errors go to standard error with a warning:/error: prefix, and the doctor shows the last log lines.
  • fsdocs watch builds the API reference in the background at startup and after a project DLL or project file change, so no page request waits for it. Project files and the solution-wide MSBuild files are watched: a change re-cracks the projects, so substitutions such as <FsDocsLogoSource> and the compiler references are picked up without a restart.
  • fsdocs watch --host 0.0.0.0 binds the server to all interfaces so the site can be browsed from another machine on the network.
  • Support top-level <seealso cref="..."/> XML doc tags in API documentation generation. Per the xmldoc recommended tags, <seealso> is a top-level section (unlike the inline <see> tag) and is now rendered as a "See also" list in both HTML and Markdown API doc output, for both members and entities. #1256

Fixed

  • Surface FSI evaluation failures to stderr by default in FsiEvaluator. Previously, when a code snippet failed during --eval, the error was silently discarded unless the caller subscribed to EvaluationFailed or provided an onError callback. Now a concise error message (file name + stderr output) is always written to stderr, making failures visible in fsdocs output.
  • Fix FrontMatterFile.ParseFromLines truncating front-matter values that contain a : character (e.g. title: F#: An Introduction was previously captured as just F#). Additional colons in a value are now preserved.

Removed

  • Remove the --noserver option of fsdocs watch; watching without serving no longer does anything now that no output folder is written.

[22.2.0] - 2026-08-31

Changed

  • Bump Suave from 2.6.2 to 3.4.6. The fsdocs watch websocket handling was migrated to Suave 3's Task-based socket API, the removed Suave.Logging usage was dropped, and clients that disconnect without a close handshake are now deregistered so a live-reload broadcast can no longer crash the watch server with an ObjectDisposedException.
  • During fsdocs watch, the logo now links to the locally hosted site root (e.g. http://localhost:8901/) instead of the production URL, even when <FsDocsLogoLink> is set. Release builds are unaffected.
  • The fsdocs watch console no longer logs websocket connection chatter ("New websocket connection", "WebSocket disconnected", ...) on every page reload.

Removed

  • Remove docs/Dockerfile (used for mybinder.org Binder integration) and mybinder badge links from documentation pages. The Binder integration relied on a deprecated .NET 7 SDK image and a deprecated Microsoft.dotnet-interactive version; mybinder.org support is discontinued.
  • Remove .ipynb (Jupyter Notebook) "run in notebook" badge links from all documentation pages and delete docs/img/badge-notebook.svg. The links linked to .ipynb outputs generated by fsdocs, but .NET Interactive (which powered those notebooks) is deprecated and has no current replacement. The .ipynb output format itself is unchanged.

[22.1.0] - 2026-05-22

Changed

  • Improve ProjectCracker project resolution to handle *.slnf and *.slnx. [#1213](https://github.com/fsproject s/FSharp.Formatting/pull/1213)

[22.0.1] - 2026-04-19

Changed

  • Compile Regex instances to module-level singletons (with RegexOptions.Compiled) in PageContentList, HtmlFormatting, Formatting, Menu, and LlmsTxt. Previously a new, uncompiled Regex was constructed on every call (once per page heading, once per HTML page, once per menu item, once per llms.txt entry), incurring repeated JIT overhead. The patterns are now compiled once at module load and reused across all calls.
  • Replace deprecated System.Net.WebClient with System.Net.Http.HttpClient in the image downloader used by --saveimages. Removes the #nowarn "44" suppression.
  • Bump Newtonsoft.Json transitive-dependency pin from 13.0.3 to 13.0.4.
  • Bump System.Memory transitive-dependency pin from 4.5.5 to 4.6.3.0
  • Remove stale VersionOverride="43.12.201" on the FSharp.Compiler.Service reference in FSharp.Formatting.Markdown.fsproj; the package now uses the central pin (43.12.202) from Directory.Packages.props, eliminating the NU1605 build warning.
  • Replace Enumerable.Cast<XAttribute> (LINQ) with Seq.cast<XAttribute> (idiomatic F#) in MarkdownUtils.fs, removing the open System.Linq import.

Fixed

  • Fix Markdown.ToMd serialising table data rows with a hardcoded \n line separator instead of the configured newline. On Windows (where Environment.NewLine is \r\n) this produced mixed line endings in the output. Each data row is now yielded separately, consistent with how every other paragraph type works. The trailing blank line after a table was also emitting a literal "\n" string instead of the standard "" empty-line sentinel.
  • Fix Markdown.ToFsx hardcoding a \n newline in the (* output: ...) comment wrapper around code-cell outputs. The configured ctx.Newline is now used, ensuring consistent line endings on Windows.
  • Fix Markdown.ToMd silently dropping YAML frontmatter when serialising a parsed MarkdownDocument back to Markdown text. Frontmatter is now preserved with its --- delimiters.
  • Fix Markdown.ToMd converting tight lists (no blank lines between items) into loose lists by emitting a blank line after every item. Tight lists now round-trip correctly without inter-item blank lines.
  • Fix Markdown.ToMd serialising HardLineBreak as a bare newline instead of two trailing spaces + newline. The correct CommonMark representation " \n" is now emitted, so hard line breaks survive a round-trip through ToMd.
  • Fix Markdown.ToMd serialising HorizontalRule as 23 hyphens regardless of the character used in the source. It now emits exactly three characters matching the parsed character (---, ***, or ___), giving faithful round-trips.
  • Remove stray printfn debug output emitted to stdout when Markdown.ToMd encountered an unrecognised paragraph type.
  • Fix Markdown.ToLatex producing invalid LaTeX output for level-6 (and deeper) headings. Previously the LaTeX command was an empty string, resulting in bare {content} without a command prefix. Headings at level 6+ are now serialised as \subparagraph{...}, which is the deepest sectioning command available in LaTeX.
  • Fix Markdown.ToMd silently dropping EmbedParagraphs nodes: the serialiser now delegates to the node's Render() method and formats the resulting paragraphs, consistent with the HTML and LaTeX back-ends.
  • Fix Markdown.ToMd dropping link titles in DirectLink and DirectImage spans. Links with a title attribute (e.g. [text](url "title")) now round-trip correctly; without this fix the title was silently discarded on serialisation.
  • Fix Markdown.ToMd serialising inline code spans that contain backtick characters. Previously, InlineCode was always wrapped in single backticks, producing syntactically incorrect Markdown when the code body contained backticks. Now the serialiser selects the shortest backtick fence that does not collide with the body content (e.g. a double-backtick fence for bodies containing single backticks, triple for double, etc.), matching the CommonMark spec.
  • Fix Markdown.ToMd multi-paragraph blockquote round-trip. The old code emitted a bare blank line between inner paragraphs, which CommonMark parses as closing the blockquote, resulting in multiple separate blockquotes on re-parse. Paragraph separators inside a blockquote are now emitted as > (an empty blockquote continuation line) so the round-trip preserves a single QuotedBlock.
  • Fix Markdown.ToMd serialising unresolved indirect links as [body](key) (treating the reference key as a URL) instead of the correct [body][key] form. Unresolved indirect links are now preserved in their original indirect-reference form, consistent with how unresolved indirect images are handled.
  • Fix Markdown.ToMd silently dropping AnchorLink spans. Named anchors (used by the API documentation generator to create in-page navigation targets) are now serialised as <a name="..."></a> inline HTML, so they survive a round-trip and remain functional when the output is later converted to HTML.

Added

  • Introduce --panel-background and --panel-border CSS custom properties in fsdocs-default.css. These decouple panel/component colours (copy-code button, blockquotes, sidebar, page menu, dialogs, tooltips, API tables) from --header-background/--header-border. Both variables default to the header values, so existing themes are unaffected; themes that need a different colour for content panels can now override --panel-background and --panel-border independently. #1156
  • Add tests for Markdown.ToFsx (direct serialisation to F# script format), which previously had no unit test coverage.
  • Add tests for Markdown.ToPynb (direct serialisation to Jupyter notebook format), which previously had no unit test coverage.
  • Add round-trip tests for HardLineBreak and HorizontalRule character preservation in Markdown.ToMd.
  • Add direct unit tests for Markdown.ToLatex, which previously had no unit test coverage. Tests cover headings (all six levels), inline formatting (bold, italic, inline code), links, images with captions, lists (ordered and unordered), code blocks, blockquotes, tables with bold headers, horizontal rules, LaTeX special character escaping, inline math, and display math.

[22.0.0] - 2026-04-03

Fixed

  • Fix spurious 'fsi' is not defined error during literate script type-checking when scripts use fsi.AddPrinter or related APIs. The FSharp.Compiler.Interactive.Settings.dll reference is now explicitly added to the type-checker options. #1139
  • Fix literate script comment parser prematurely closing (** blocks when the markdown text contained nested (*** ... ***) references (e.g. in backtick-quoted command examples), causing subsequent content to be silently dropped from HTML output.
  • Add missing [<Test>] attribute on Can include-output-and-it test so it is executed by the test runner.
  • Add regression test confirming that types whose name matches their enclosing namespace are correctly included in generated API docs. #944
  • Fix crash (failwith "tbd - IndirectImage") when Markdown.ToMd is called on a document containing reference-style images with bracket syntax. The indirect image is now serialised as ![alt](url) when the reference is resolved, or in bracket notation when it is not. #1094
  • Fix Markdown.ToMd serialising italic spans with asterisks incorrectly as bold spans. #1102
  • Fix Markdown.ToMd serialising ordered list items with incorrect numbering and formatting. #1102
  • Fix Markdown.ToMd not preserving indented code blocks: bare code output was re-parsed as a paragraph. Indented code blocks are now serialised as fenced code blocks, which round-trip correctly.
  • Fix Markdown.ToMd serialising *emphasis* (italic) spans as **...** (bold) instead of *...*. #1102
  • Fix Markdown.ToMd serialising ordered list items with 0-based numbering and no period (e.g. 0 first) instead of 1-based with a period (e.g. 1. first). #1102
  • Fix HtmlElement SVG serialisation: LinearGradient now renders as <linearGradient> and RadialGradient now renders as <radialGradient> — both previously emitted the invalid tag <radient>.

Changed

  • fsdocs build now pre-computes the navigation menu structure (filter/group/sort) once per build rather than once per output page, reducing work from O(n²) to O(n) for sites with n pages. The filesystem check for custom menu templates is also cached per build. #1129

[22.0.0-alpha.2] - 2026-03-13

Added

  • Add --root option to fsdocs watch to override the root URL for generated pages. Useful for serving docs via GitHub Codespaces, reverse proxies, or other remote hosting where localhost URLs are inaccessible. E.g. fsdocs watch --root / or fsdocs watch --root https://example.com/docs/. When not set, defaults to http://localhost:<port>/ as before. #924
  • Fix fsdocs watch hot-reload WebSocket to connect using the page's actual host (window.location.host) instead of a hardcoded localhost:<port>, so hot-reload works correctly in GitHub Codespaces, behind reverse proxies, and over HTTPS. #924
  • Search dialog now auto-focuses the search input when opened, clears on close, and can be triggered with Ctrl+K / Cmd+K in addition to /.
  • Add dotnet fsdocs convert command to convert a single .md, .fsx, or .ipynb file to HTML (or another output format) without building a full documentation site. #811
  • fsdocs convert now accepts the input file as a positional argument (e.g. fsdocs convert notebook.ipynb -o notebook.html). #1019
  • fsdocs convert infers the output format from the output file extension when --outputformat is not specified (e.g. -o out.md implies --outputformat markdown). #1019
  • fsdocs convert now accepts -o as a shorthand for --output. #1019
  • fsdocs convert now embeds CSS, JS, and local images directly into the HTML output by default, producing a single self-contained file. Use --no-embed-resources to disable. Pass --template fsdocs to use the built-in default template without needing a local _template.html. #1068
  • fsdocs convert now supplies sensible defaults for all standard {{fsdocs-*}} template substitution parameters (e.g. {{fsdocs-page-title}} defaults to the input filename) so templates work cleanly without requiring --parameters. #1072
  • Added full XML doc comments (<summary>, <param>) to Literate.ParseAndCheckScriptFile and Literate.ParseScriptString to match the documentation style of the other Literate.Parse* methods.

Fixed

  • Literate.ParseScriptString and Literate.ParsePynbString used a hardcoded Windows path (C:\script.fsx) as the fallback script filename when neither path nor rootInputFolder is supplied. The fallback is now a simple platform-neutral script.fsx.
  • Add regression tests for cross-assembly tooltip resolution (issue #1085): verify that hover tooltips for types whose fields reference types from other assemblies show the correct type names (not obj) when #r paths resolve correctly.

Changed

  • Tooltip elements (div.fsdocs-tip) now use the Popover API (Baseline 2024: Chrome 114+, Firefox 125+, Safari 17+). Tooltips are placed in the browser's top layer — no z-index needed, always above all other content. Fixes a positioning bug where tooltips appeared offset when the page was scrolled. The previous display-toggle fallback has been removed. Tooltips also fade in with a subtle animation. #422, #1061
  • Generated code tokens no longer use inline onmouseover/onmouseout event handlers. Tooltips are now triggered via data-fsdocs-tip / data-fsdocs-tip-unique attributes and a delegated event listener in fsdocs-tips.js. The popover attribute is also added to API-doc tooltip divs so they use the same top-layer path. #1061
  • Changed range fields in MarkdownSpan and MarkdownParagraph DU cases from MarkdownRange option to MarkdownRange, using MarkdownRange.zero as the default/placeholder value instead of None.
  • When no template is provided (e.g. fsdocs convert without --template), fsdocs-tip tooltip divs are no longer included in the output. Tooltips require JavaScript/CSS from a template to function, so omitting them produces cleaner raw output. #1019
  • Use scrollbar-gutter: stable (Baseline 2024) on scroll containers (main, #fsdocs-main-menu, mobile menu, search dialog) to reserve scrollbar space and prevent layout shifts when content changes height. Also adds the missing overflow-y: auto to main so pages that exceed the viewport height are independently scrollable. #1087, #1088

[22.0.0-alpha.1] - 2026-03-03

Added

  • Add ApiDocParameter and ApiDocReturnInfo named record types to replace anonymous records returned by ApiDocMember.Parameters and ApiDocMember.ReturnInfo, making them usable across assembly boundaries. #735
  • Add /// documentation comments to all public types, modules and members, and succinct internal comments, as part of ongoing effort to document the codebase. #1035
  • Add "Copy" button to all code blocks in generated documentation, making it easy to copy code samples to the clipboard. #72
  • Add <FsDocsAllowExecutableProject>true</FsDocsAllowExecutableProject> project file setting to include executable projects (OutputType=Exe/WinExe) in API documentation generation. #918
  • Add {{fsdocs-logo-alt}} substitution (configurable via <FsDocsLogoAlt> MSBuild property, defaults to Logo) for accessible alt text on the header logo image. #626
  • Add fsdocs init command to scaffold a minimal docs/index.md (and optionally _template.html) for new projects. #872
  • IFsiEvaluator now inherits IDisposable; FsiEvaluator disposes its underlying FSI session when disposed, preventing session leaks in long-running processes. #341
  • Display of type constraints (e.g. 'T : equality, 'T : comparison, 'T :> IComparable) in generated API documentation. Constraints are shown inline using the F# compiler's compact (requires ...) style by default (e.g. 'T (requires equality)). Controlled by <FsDocsTypeConstraints> in the project file with values None, Short (default, inline compact form), and Full (separate "Constraints:" section). #591
  • Show inherited members from documented base types in a new "Inherited members" section on type pages (MSDN-style). #590
  • Add <FsDocsNoInheritedMembers>true</FsDocsNoInheritedMembers> project file setting to suppress "Inherited from" sections in generated API docs. #1039
  • Generate llms.txt and llms-full.txt for LLM consumption by default (opt out via <FsDocsGenerateLlmsTxt>false</FsDocsGenerateLlmsTxt>); when enabled, markdown output is always generated alongside HTML (even without a user-provided _template.md) and llms.txt links point to the .md files. #951 #980
  • Document --saveimages flag (none|some|all) with an explanation of each mode, and add a new "Embedding Images" section covering inline Base64 images and fsi.AddHtmlPrinter usage for chart/plot output. #683

Fixed

  • Strip parameter attribute annotations (e.g. [<Optional>], [<DefaultParameterValue(null)>]) from hover tooltips in code snippets — these attributes made tooltips unreadable for methods with many optional parameters. #858
  • Update Ionide.ProjInfo from 0.62.0 to 0.74.2, fixing a URI format exception in VisualTree.relativePathOf when paths contain unusual characters; migrate to the new WorkspaceLoader API and remove the now-defunct Ionide.ProjInfo.Sln package. #1054
  • Fix project restore detection for projects with nonstandard artifact locations (e.g. <UseArtifactsOutput> or the dotnet/fsharp repo layout): when the MSBuild call to locate project.assets.json fails, emit a warning and proceed instead of hard-failing. #592
  • Fix doc generation failure for members with 5D/6D+ array parameters by correctly formatting array type signatures in XML doc format (e.g. System.Double[0:,0:,0:,0:,0:] for a 5D array). #702
  • Fix _menu_template.html and _menu-item_template.html being copied to the output directory. #803
  • Fix ApiDocMember.Details.ReturnInfo.ReturnType returning None for properties that have both a getter and a setter. #734
  • Improve error message when a named code snippet is not found (e.g. (*** include:name ***) with undefined name now reports the missing name clearly). #982
  • HTML-encode XML doc text nodes and unresolved <see cref> values to prevent HTML injection and fix broken output when docs contain characters like <, >, or backticks in generic type notation. #748
  • Add uppercase output kind extension (e.g. HTML, IPYNB) to ConditionalDefines so that #if HTML and (*** condition: HTML ***) work alongside their lowercase variants. #693
  • Strip #if SYMBOL / #endif // SYMBOL marker lines from LiterateCode source before syntax-highlighting so they do not appear in formatted output. #693
  • Improve tolerant cross-reference resolution so that unqualified <see cref> attributes (e.g. <see cref="MyType" />, <see cref="MyType.MyMember" />, <see cref="GenericType1.Member" />`) resolve to the correct API documentation page when the referenced type is part of the documented assembly set. #605
  • Members and functions annotated with CompilerMessageAttribute(IsHidden=true) are now automatically excluded from API docs, matching the behaviour of [omit] / <exclude/>. #144
  • Fix incorrect column ranges for inline spans (links, images, inline code) in the Markdown parser — spans and subsequent literals now report correct StartColumn/EndColumn values. #744
  • Normalize --projects paths to absolute paths before passing to the project cracker, fixing failures when relative paths are supplied. #793
  • Fix incorrect paragraph indentation for loose list items: a paragraph indented at the outer list item's continuation level is now correctly treated as a sibling of surrounding sublists rather than being absorbed into the first sublist item's body. #347
  • Improve CommonMark compliance for ATX headings: reject # not followed by a space (e.g. #NoSpace is now a paragraph), reject more than 6 # characters as a heading, support 0–3 leading spaces before the opening # sequence, and fix empty content when the entire header body is a closing ### sequence. #191
  • Improve CommonMark compliance for thematic breaks, setext headings, and paragraph/list/blockquote interaction: thematic breaks now correctly interrupt paragraphs, list items, and lazy blockquote continuations; setext heading underlines now accept 0–3 leading spaces; and thematic breaks with 4+ leading spaces are no longer recognised (they are indented code blocks instead). #191

Changed

  • Markdown API docs for members now use section-based layout (per-member #### headings) instead of a Markdown table, eliminating embedded <br /> separators, &#124; pipe escaping, and improving rendering of multi-line content and code examples. #725
  • Update FCS to 43.10.100. #935
  • Reduce dark mode header border contrast to match the visual subtlety of light mode borders. #885
  • breaking Migrate theme color variables to use CSS light-dark() function, eliminating the separate [data-theme=dark] block of variable overrides and automatically honouring prefers-color-scheme media query when the user has not manually set a preference. #1004

[21.0.0] - 2025-11-12

Changed

  • Stable release.

[21.0.0-beta-005] - 2025-04-23

Added

  • Add --ignoreuncategorized flag. #953

[21.0.0-beta-004] - 2024-11-20

Changed

  • Update FCS to 43.9.100. #945

[21.0.0-beta-003] - 2024-08-06

Changed

  • Update FCS to 43.8.301. #935

[21.0.0-beta-002] - 2024-06-19

Changed

  • Shrink API docs example heading font size a bit. #923
  • Improve overall API doc content alignment consistency in various scenarios. #923

[21.0.0-beta-001] - 2024-06-06

Added

  • Add expand/collapse-all button for API doc details. #920

Changed

  • HTML structure of generated API documentation. #919

[20.0.1] - 2024-05-31

Changed

  • Details improvements. #917

[20.0.0] - 2024-02-14

Changed

  • Stable release.

[20.0.0-beta-002] - 2024-02-08

Fixed

  • Avoid theme flicker in dark mode. #901

[20.0.0-beta-001] - 2024-01-31

Changed

  • Marking development of v20 as complete.

[20.0.0-alpha-019] - 2024-01-29

Fixed

  • Use dvh for full viewport height . #899

[20.0.0-alpha-018] - 2024-01-10

Fixed

  • Add -webkit-text-size-adjust. #889

[20.0.0-alpha-017] - 2024-01-09

Fixed

  • Set default font-size for code. #889

[20.0.0-alpha-016] - 2023-12-07

Fixed

  • Use empty replacement for {{fsdocs-meta-tags} in API doc pages. #892

[20.0.0-alpha-015] - 2023-12-06

Fixed

  • Namespace description overflows content box. #886

Added

  • SEO-optimization for new theme. Allow description and keywords in frontmatter. Introduce {{fsdocs-meta-tags}}. #869

[20.0.0-alpha-014] - 2023-11-22

Added

  • Added the ability to use ipynb files as inputs #874

Fixed

  • Fsx outputs no longer treat inline html as F# code. Inline html blocks are now enclosed inside literate comments.

[20.0.0-alpha-013] - 2023-11-21

Added

  • Add more options to customize colors.

Removed

  • --fsdocs-theme-toggle-light-color and --fsdocs-theme-toggle-dark-color are now deprecated. Use --header-link-color instead.
  • <FsDocsCollectionNameLink>

Changed

  • Update FCS to 43.8.100

[20.0.0-alpha-012] - 2023-11-17

Added

  • Add more options to customize colors.

[20.0.0-alpha-011] - 2023-11-16

Fixed

  • Take <UseArtifactsOutput> into account during the project restore check.

[20.0.0-alpha-010] - 2023-11-15

Fixed

  • Update styling for blockquote.
  • Update search documentation.
  • Tweak dark theme colors.
  • Loosen the header link search restriction.
  • Improve custom theme icon.
  • Correct fsdocs-menu-item-active-class value.
  • Fix example of Right-Side navigation.

Changed

  • Allow for more fine-grained styling control.

[20.0.0-alpha-009] - 2023-11-11

Fixed

  • Return original prop when no Directory.Build.props is used as fallback.

[20.0.0-alpha-008] - 2023-11-10

Fixed

  • Add dynamic max-width to tooltip.
  • Overflow long namespace names in overview table.

[20.0.0-alpha-007] - 2023-11-10

Fixed

  • Smaller scrollbars on mobile devices

Added

  • Use property values from the current Directory.Build.props file as fallback. #865

[20.0.0-alpha-006] - 2023-11-09

Added

  • Revisited search using fusejs

[20.0.0-alpha-005] - 2023-11-09

Changed

  • Improve API doc styling.

Fixed

  • Make mobile menu scrollable.

[20.0.0-alpha-004] - 2023-11-08

Fixed

  • Don't use font ligatures, the can confuse newcomers of F#.
  • Replace {{fsdocs-list-of-namespaces}} with an empty string if no API docs are present.
  • Improve default styling of blockquote
  • Add some padding for level 3 and 4 headers in 'on this page' section.

[20.0.0-alpha-003] - 2023-11-06

Changed

  • default template style changes (#fsdocs-page-menu outside main, link around project name, overflow ellipsis for menu items)

[20.0.0-alpha-002] - 2023-11-03

Fixed

  • {{root}} is now available as substitution in _body.html and _head.html.

[20.0.0-alpha-001] - 2023-11-03

Removed

  • FsDocsNavbarPosition is no longer respected. Use CSS variables instead. See docs.
  • ⚠️ Search was completely removed and will be revisited in future versions.

Changed

  • The default template was updated and is not compatible with previous versions.

Added

  • Dark mode is available out of the box.
  • {{fsdocs-head-extra}} can included additional html before the closing </head> when _head.html exists.
  • {{fsdocs-body-extra}} can included additional html before the closing </body> when _body.html exists.
  • MSBuild property <FsDocsFaviconSource> can be used to configure the favicon.
  • active class is added to the active menu item in {{fsdocs-list-of-documents}}.
  • If menu templating is used, {{fsdocs-menu-header-active-class}} and {{fsdocs-menu-item-active-class}} are avaiable.
  • {{fsdocs-page-content-list}} contains an unordered list of the header (h1 till h4) of the current page. (if available)

[19.1.1] - 2023-10-10

Changed

  • Fix code rendering on firefox. #851

[19.1.0] - 2023-09-15

Changed

  • Only reload css file when changed. #845
  • Add previous and next page url substitutions. #846

[19.0.0] - 2023-08-22

Changed

  • Update FCS to 43.7.400

[18.1.1] - 2023-08-02

Changed

  • Pass --multiemit- as default option for FsiEvaluator.

[18.1.0] - 2023-04-13

Changed

[18.0.0] - 2023-03-29

Changed

  • Update FCS to 43.7.200
  • Target net6.0 for fsdocs-tool #799

[17.4.1] - 2023-03-29

Changed

  • Update ipynb output metadata #809

[17.4.0] - 2023-03-09

Changed

  • One FSI evaluator per docs file #737

[17.3.0] - 2023-03-06

Changed

  • Better test project detection #800

[17.2.3] - 2023-02-21

Changed

  • Fix external docs link #794

[17.2.2] - 2023-01-16

Changed

  • Improvement for <seealso/> #789

[17.2.1] - 2023-01-14

Changed

  • Fix support for <exclude/> #786

[17.2.0] - 2022-12-28

Changed

  • Resolve markdown links in raw html #769

[17.1.0] - 2022-11-22

Changed

[17.0.0] - 2022-11-17

Changed

  • Update to .NET 7.0.100

[16.1.1] - 2022-09-07

Changed

[16.1.0] - 2022-08-30

Changed

  • Update to .NET 6.0.400
  • Update to Ionide.ProjInfo 0.60

[16.0.4] - 2022-08-30

Changed

[16.0.3] - 2022-08-30

Changed

[16.0.2] - 2022-08-23

Changed

[16.0.1] - 2023-08-16

Changed

  • Custom templating for menus

[15.0.3] - 2023-08-15

Changed

  • Fixes Markdown parser gets multiple-underscores-inside-italics wrong #389

[15.0.2] - 2023-08-05

Changed

  • Trim the --fscoptions before passing them as otherflags. (comment #616)

[15.0.1] - 2023-07-01

Changed

[15.0.0] - 2022-03-20

Changed

  • Update to .NET 6

[14.0.1] - 2021-11-11

Changed

  • Fixes 703, 700 - --strict is now considerably stricter, and more diagnostics being shown

[14.0.0] - 2021-11-10

Changed

[13.0.1] - 2021-11-10

Changed

  • Skip the output folder when processing

[13.0.0] - 2021-11-10

Changed

  • Remove unused TransformAndOutputDocument from API
  • Fixes Can't yet format InlineHtmlBlock #723
  • Fixes <code> blocks are emitting <pre> blocks with escapes no longer escaped #712

[12.0.2] - 2021-11-10

Changed

  • Remove front-matter output from notebooks

[12.0.1] - 2021-11-10

Changed

  • Improve package description

[12.0.0] - 2021-11-07

Changed

[11.5.1] - 2021-10-30

Changed

[11.5.0] - 2021-10-30

Changed

[11.4.4] - 2021-10-11

Changed

[11.4.3] - 2021-08-17

Changed

  • Style blockquotes

[11.4.2] - 2021-07-29

Changed

[11.4.1] - 2021-07-23

Changed

[11.4.0] - 2021-07-22

Changed

[11.3.0] - 2021-07-22

Changed

[11.2.0] - 2021-05-17

Changed

  • scrollable navbar #677 by nhirschey
  • Show field type for record fields #674
  • Add --ignoreprojects flag #676 by chengh42

[11.1.0] - 2021-04-15

Changed

  • Add frontmatter, category, categoryindex, index, title

[11.0.4] - 2021-04-15

Changed

  • testing package publish

[11.0.3] - 2021-04-14

Changed

  • testing package publish

[11.0.2] - 2021-04-14

Changed

  • add favicon.ico to template and use F# logo as default favicon for generated sites

[11.0.1] - 2021-04-14

Changed

  • update to Ionide.ProjInfo
  • use computed args for references in API doc generation
  • Fix #616
  • Fix #662
  • Fix #646

[10.1.1] - 2021-04-13

Changed

  • Switch to cleaner default styling based on DiffSharp styles
  • Change fsdocs-menu to fsdocs-nav

[10.0.8] - 2021-04-13

Changed

  • Add cref copy buttons by default

[10.0.7] - 2021-04-13

Changed

  • Fix more formatting and switch to fsdocs-member-usage instead of fsdocs-member-name

[10.0.2] - 2021-04-13

Changed

  • Permit cref:T:System.Console code references in markdown content

[10.0.1] - 2021-04-12

Changed

  • Apply substitutions to content
  • Add fsdocs-source-filename and fsdocs-source-basename substitutions

[9.0.4] - 2021-03-24

Changed

  • Trim spaces from examples (TrimEnd only)

[9.0.3] - 2021-03-24

Changed

  • Trim spaces from examples

[9.0.1] - 2021-02-11

Changed

  • Proper fix for elide multi-language docs from navigation and site search index

[9.0.0] - 2021-02-11

Changed

  • Rename --property flag to --properties
  • Elide multi-language docs from navigation and site search index

[8.0.1] - 2021-01-21

Changed

[8.0.0] - 2021-01-14

Changed

[7.2.9] - 2020-09-22

Changed

  • Document how to do math in XML comments
  • Add --strict flag to fsdocs for stricter checking
  • Add --property flag to fsdocs to pass properties to dotnet msbuild
  • Better diangostics and logging for fsdocs

[7.2.8] - 2020-09-09

Changed

[7.2.7] - 2020-09-09

Changed

[7.2.6] - 2020-08-07

Changed

  • In ApiDocsModel, separate out the parameter, summary, remarks sections etc.

  • In ApiDocsModel, integrate the parameter types with the parameter docs (when using XML docs)

  • In HTML generation for API docs, locate the github link top right

  • In ApiDocsModel.Generate, optionally give warnings when XML doc is missing or parameter names are incorrect. Activate using

  • In ApiDocsModel, change "Parameters" to "Substitutions"

  • Fix formatting of (most) custom operators

  • Fix formatting of op_XYZ binary and unary operators

[7.2.5] - 2020-08-06

Changed

  • change <namespacesummary>...<namespacesummary> to <namespacedoc> <summary>... </summary> </namespacedoc>

  • change <categoryindex>3<categoryindex> to <category index="3">...</category>

[7.2.4] - 2020-08-06

Changed

  • support <namespacesummary>...<namespacesummary>

  • support <namespaceremarks>...<namespaceremarks>

  • support <note>...<note>

  • support <category>...</category>

  • support <exclude />

  • allow <a href="..." > in XML doc comments

  • allow <paramref name="..." > in XML doc comments

  • document XML doc things supported

[7.2.2] - 2020-08-05

Changed

  • instruct about settings

[7.2.1] - 2020-08-05

Changed

  • fix images in nuget

[7.2.0] - 2020-08-05

Changed

  • include templates

[7.1.8] - 2020-08-05

Changed

  • bump version

[7.1.6] - 2020-08-04

Changed

  • bump version

[7.1.5] - 2020-08-04

Changed

  • fix navbar position option fixed-left

[7.1.4] - 2020-08-04

Changed

  • fixed property computation

[7.1.3] - 2020-08-04

Changed

  • fixed typo for LICENCE.md

  • all classes to have fsdocs- prefix

[7.1.2] - 2020-08-04

Changed

  • fixed all classes to have fsdocs- prefix

  • added documentation on styling

[7.1.1] - 2020-08-04

Changed

  • fixed root

[7.1.0] - 2020-08-04

Changed

  • add text content of markdown and scripts to generated search index

  • overhaul the substitution names used by FSharp.Formatting and expected in the template. The table is in the docs and below

  • generate {{fsdocs-list-of-documents}} substitution and use it in both API docs and content

  • generate {{fsdocs-list-of-namespaces}} substitution and use it in both API docs and content

  • fix link model so {{root}} is always respected

  • Add qualify parameter that asks to qualify all names by the collection name e.g. FSharp.Core

  • Respect per-project settings, e.g. if one nuget package has a different set of authors or home page to another

  • Add documentation about styling

  • Allow fixed-left and fixed-right positions for the navbar

  • Add {{fsdocs-logo-link}} parameter to default template

  • Add {{fsdocs-logo-link}} parameter to default template

  • generate HTML giving hyperlinks for types with cross-links

  • switch to left bootstrap nav bar in template for a table of contents

  • improve sizings

  • move to one copy of template in docs/_template.html

  • ApiDocsTypeDefinition and ApiDocsModule merged to ApiDocsEntity

  • Default template now expects logo in img/logo.png

  • Improvements in default HTML generation

  • ApiDocComment.Blurb renamed to ApiDocComment.Summary and only populated with summary text for things read from XML

  • simplify tool instructions

  • add info about upgrading

[6.1.0] - 2020-07-21

Changed

  • fix mistake in laying down extras directory

[6.0.9] - 2020-07-21

Changed

  • put extra content in extras directory in nuget package and include Dockerfile and NuGet.config

[6.0.8] - 2020-07-21

Changed

  • show extended type in generated docs for extension members
  • include fsdocs-styles.css, fsdocs-search.js, fsdocs-tips.js in built site 'content' directory by default
  • use default template from nuget package by default

[6.0.7] - 2020-07-20

Changed

  • fix formatting of generic parameters so they don't show inference variables for members

[6.0.6] - 2020-07-20

Changed

  • fix default styling

[6.0.5] - 2020-07-20

Changed

  • improve display in FSharp.Formatting API docs and add more information

[6.0.4] - 2020-07-20

Changed

  • Watch defaults to tmp/watch

[6.0.3] - 2020-07-20

Changed

  • Add (*** include-fsi-output **)
  • Add (*** include-fsi-merged-output **)
  • Add server to dotnet watch and by default switch to local host
  • Always inject fsi.AddPrinter, fsi.AddHtmlPrinter etc. into the programming model for literate scripts

[6.0.2] - 2020-07-19

Changed

  • Remove the api command from the command line tool (build generalises it)
  • Add missing search.js

[6.0.1] - 2020-07-19

Changed

  • build the Lunr index.json from every execution of fsdocs build
  • Make the search index entries available as part of the ApiDocs model
  • Add search box to generated docs
  • Add ApiDocs prefix to all types in ApiDocsModel
  • Remove Details from ApiDocsModel

[5.0.5] - 2020-07-14

Changed

  • Correct behaviour of '--clean'

[5.0.4] - 2020-07-14

Changed

  • Fix emit of odd character in latex output

[5.0.3] - 2020-07-14

Changed

  • Paket update and remove workaround code
  • add '--clean' to fsdocs

[5.0.2] - 2020-07-14

Changed

  • Update to FCS v36.0
  • Add .ipynb output option for documents
  • Add .fsx output option for documents
  • Literate.WriteHtml --> Literate.ToHtml/Literate.WriteHtml overloads
  • MetadataFormat.Generate --> ApiDocs.GenerateHtml/ApiDocs.GenerateModel overloads
  • Fix Literate.* to do approximate (non-razor) templating/
  • Remove Razor support
  • HTML templates now use {{prop-name}}
  • FSharp.CodeFormat --> FSharp.Formatting.CodeFormat
  • FSharp.Markdown --> FSharp.Formatting.Markdown
  • FSharp.Literate --> FSharp.Formatting.Literate and FSharp.Formatting.Literate.Evaluation
  • FSharp.MetadataFormat --> FSharp.Formatting.ApiDocs
  • FSharp.ApiDocs uses HTML substitution for templating, no Razor
  • Add "include-it" and "include-output" with implied reference to the immediately preceding snippet
  • For command line tool
  • Rename fsformatting to fsdocs
  • Update command line parser
  • "fsformatting literate process-directory" --> "fsdocs convert"
  • "fsformatting metadata-format generate" --> "fsdocs api"
  • "--dllFiles" --> "--dlls"
  • "--outDir" --> "--output"
  • "--outputDirectory" --> "--output"
  • "--output" is optional (defaults to 'output')
  • "--inputDirectory" --> "--input"
  • Add --nonpublic
  • Add --xmlComments
  • Automatically populate metadata from project settings.
  • Add fsdocs build command to the documentation generator that has lots of sensible defaults.

[4.1.0] - 2020-06-01

Changed

  • Support preview F# language features.
  • Add support for customizing assigned CSS class.

[4.0.1] - 2020-05-12

Changed

  • Add .NET Core support for all libraries.
  • Update to FSCS v35.0.
  • Add helpers for CustomOperationAttribute.

[4.0.0-rc2] - 2020-04-24

Changed

  • Update to FSCS v34.1.

[4.0.0-rc2] - 2020-04-24

Changed

  • Update to FSCS v34.

[4.0.0-rc2] - 2020-04-24

Changed

  • Fix packaging issues.

[4.0.0-rc2] - 2020-04-24

Changed

  • Add .NET Core support for all libraries.
  • Update to latest FSharp.Compiler.Service

[3.1.0] - 2019-04-12

Changed

  • remove beta tag since it is already widely used

[3.0.0-beta01] - 2016-08-01

Changed

  • Update to latest FSharp.Compiler.Service
  • No longer filter FSHarp.Core based on optdata/sigdata (it is now always bundled)

[3.0.0-beta01] - 2016-08-01

Changed

  • FSharp.Formatting.Literate for netstandard2.0

[3.0.0-beta01] - 2016-08-01

Changed

  • Fix usage formatting - #472

[3.0.0-beta01] - 2016-08-01

Changed

  • Added support for attributes on modules, types and members
  • Updated razor templates to show attributes and added a warning for obsolete API

[3.0.0-beta01] - 2016-08-01

Changed

  • Upgrade FSharp.Compiler.Service to be compatible with FAKE 5

[3.0.0-beta01] - 2016-08-01

Changed

[3.0.0-beta01] - 2016-08-01

Changed

  • Improve Stacktrace on Script file processing

[3.0.0-beta01] - 2016-08-01

Changed

  • Fix System.ValueType dep.

[3.0.0-beta01] - 2016-08-01

Changed

  • Include razor component.

[3.0.0-beta01] - 2016-08-01

Changed

  • Always generate anchors when using command line tool.

[3.0.0-beta01] - 2016-08-01

Changed

  • Don't hide errors in fsformatting tool (Literate).
  • Improve error message by using inner exceptions.

[3.0.0-beta01] - 2016-08-01

Changed

  • Don't hide errors in fsformatting tool.

[3.0.0-beta01] - 2016-08-01

Changed

  • MarkdownSpan and MarkdownParagraph now use named DUs
  • Add range to MarkdownParagraph and MarkdownSpan (#411)
  • FSharp.Formatting no longer has a strong dependency on Razor (#425)
  • FSharp.Formatting no longer depends on VFPT.Core (#432)
  • Add beta packages to AppVeyor feed.
  • Update FSharp.Compiler.Service component.

[2.14.4] - 2016-06-02

Changed

  • Use #I __SOURCE_DIRECTORY__ in the loads script (more reliable)

[2.14.3] - 2016-05-26

Changed

  • Fixes issues with comments and keywords in Paket highlighter (#408)
  • Fix tooltip flickering in CSS (#406)
  • End blockquote on a line with an empty blockquote (fix #355) (#400)

[2.14.2] - 2016-04-06

Changed

  • Add code to parse table rows correctly (#394)
  • Also fixes (#388) Markdown parser doesn't recognize inline code x | y inside table cell

[2.14.1] - 2016-04-05

Changed

  • Temporarily pin FSharp.Compiler.Service (#395)
  • Cache is new keyword in Paket (#392)

[2.13.6] - 2016-02-29

Changed

  • Added TypeScript to the CSharpFormat project (#386)

[2.13.5] - 2016-01-25

Changed

  • Fixes issues in PaketFormat (#381) - colorize HTTP and file prefix
  • Reliable getTypeLink (#380) - avoid crashes

[2.13.4] - 2016-01-20

Changed

  • Colors paket keywords (#379)

[2.13.3] - 2016-01-18

Changed

  • Adds PaketFormat to not color URLs as comments in Paket files (#349)

[2.13.2] - 2016-01-12

Changed

[2.13.1] - 2016-01-12

Changed

  • Make logging to file optional using environment variable

[2.13.0] - 2015-12-29

Changed

[2.12.1] - 2015-12-24

Changed

  • update dependencies
  • Upgrade the CommandTool to F# 4 and bundle FSharp.Core with sigdata and optdata.
  • Fix crash when a fenced code block starts with an empty line (#361)
  • Support for all known xml elements (#331)

[2.12.0] - 2015-10-18

Changed

  • Update dependencies to be compatible with FSharp.Compiler.Service >=1.4.0.3

[2.11.1-alpha1] - 2015-10-14

Changed

  • Adds methods for cross-type links #330 (#330)

[2.11.0] - 2015-09-28

Changed

  • Fix #271
  • Don't fail as long as we can recover / continue.
  • Fix #201

[2.10.3] - 2015-09-12

Changed

  • Require compatible F# Compiler Service in Nuspec (fix #337)

[2.10.2] - 2015-09-11

Changed

  • Fix load script (wrap logging setup in try catch properly)

[2.10.1] - 2015-09-11

Changed

  • paket update && fix compilation (#338)
  • Wrap logging setup in try catch

[2.10.0] - 2015-07-26

Changed

  • Add detailed logging and new FSharp.Formatting.Common.dll file
  • Fix bug in C# code formatting tool (FormatHtml)

[2.9.10] - 2015-06-27

Changed

  • Support multiple snippets in Literate.Parse (This is obsolete, but needed for www.fssnip.net.)

[2.9.9] - 2015-06-22

Changed

  • Fix HTML escaping of code blocks with unknown languages (#321, #322)

[2.9.6] - 2015-05-08

Changed

  • Generate 'fssnip' class for non-F#
     tags for consistency

[2.9.5] - 2015-05-06

Changed

  • Provide an option to disable fsi.AddPrinter (#311)
  • Generated line numbers for HTML are the same for F# and non-F#

[2.9.4] - 2015-04-30

Changed

  • Use otherFlags parameter (#308)
  • Format code in Markdown comments (#307, #36)

[2.9.3] - 2015-04-28

Changed

  • Simplify using FCS interaction using Yaaf.Scripting (#305)
  • Do not load dependencies when initializing evaluator
  • Undo require exact version of F# Compiler Service

[2.9.2] - 2015-04-24

Changed

  • Require exact version of F# Compiler Service

[2.9.1] - 2015-04-21

Changed

  • Add back RazorEngine.dll (#302)

[2.9.0] - 2015-04-20

Changed

  • Properly encode '>' entities (#84)
  • Generate line numbers for non-F# code (#227)
  • Support headings on the same line as comment (#147)
  • Fixes in HTML encoding of non-F# code snippets (#249, #213)
  • Remove Razor mono workaround (#279)
  • Add a public API to process a customized LiterateDocument (#282)
  • Add an API to process a customized LiterateDocument (#289)
  • Use template path if it is rooted (#281)
  • Enable evaluation tests for literate scripts
  • Create fsi object without FSharp.Compiler.Interactive.Settings.dll
  • Fix #229 (Key already exists exception when parsing an assembly)
  • Update to Visual Studio 2013 (only)
  • Update LaTeX colors using CSS Light theme (#278)