fsdocs-tool
23.0.0-alpha.7
See the version list below for details.
dotnet tool install --global fsdocs-tool --version 23.0.0-alpha.7
dotnet new tool-manifest
dotnet tool install --local fsdocs-tool --version 23.0.0-alpha.7
#tool dotnet:?package=fsdocs-tool&version=23.0.0-alpha.7&prerelease
nuke :add-package fsdocs-tool --version 23.0.0-alpha.7
fsdocs and FSharp.Formatting

FSharp.Formatting is a set of libraries and tools for processing F# script files and markdown, and for
generating API documentation from XML doc comments. The primary tool is fsdocs.
Full documentation: https://fsprojects.github.io/FSharp.Formatting/
The fsdocs tool
fsdocs builds a static documentation site from the markdown files and F# scripts in your docs
folder, plus API reference pages for the projects in your solution.
dotnet tool install fsdocs-tool
dotnet fsdocs build
dotnet fsdocs watch
initcreates adocsfolder with a defaultindex.md.buildprocesses thedocsfolder and writes the site tooutput.watchbuilds the site, serves it locally and rebuilds on every change.convertconverts individual markdown and script files.
Run dotnet fsdocs <command> --help to see the options of a command, or read the
command line guide.
The libraries
The same functionality is available as NuGet packages for use from your own code:
- FSharp.Formatting bundles the markdown parser, F# code formatter, literate programming support and API doc generator.
- FSharp.Formatting.Literate only contains the literate programming support and its dependencies.
See Markdown parser, F# code formatting and literate programming for examples.
Contributing
See CONTRIBUTING.md for how to build the repository and run the tool locally.
Maintainer(s)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 23.0.0-alpha.8 | 1,739 | 9/18/2026 |
| 23.0.0-alpha.7 | 591 | 9/15/2026 |
| 23.0.0-alpha.6 | 103 | 9/15/2026 |
| 23.0.0-alpha.5 | 76 | 9/15/2026 |
| 23.0.0-alpha.4 | 389 | 9/13/2026 |
| 23.0.0-alpha.3 | 73 | 9/13/2026 |
| 23.0.0-alpha.2 | 153 | 9/10/2026 |
| 23.0.0-alpha.1 | 404 | 9/8/2026 |
| 22.2.0 | 12,353 | 8/31/2026 |
| 22.1.0 | 26,113 | 5/27/2026 |
| 22.0.1 | 1,140 | 5/9/2026 |
| 22.0.0 | 3,563 | 4/4/2026 |
| 22.0.0-alpha.3 | 1,284 | 4/2/2026 |
| 22.0.0-alpha.2 | 1,085 | 3/13/2026 |
| 22.0.0-alpha.1 | 105 | 3/5/2026 |
| 21.0.0 | 21,643 | 11/12/2025 |
| 21.0.0-beta-005 | 3,195 | 4/23/2025 |
| 21.0.0-beta-004 | 1,869 | 11/20/2024 |
| 21.0.0-beta-003 | 664 | 8/16/2024 |
| 21.0.0-beta-002 | 9,082 | 6/19/2024 |
### 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](https://github.com/fsprojects/FSharp.Formatting/pull/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](https://github.com/fsprojects/FSharp.Formatting/pull/1331)