FSharp.Formatting.CommandTool

The package is a collection of libraries that can be used for literate programming with F# (great for building documentation) and for generating library documentation from inline code comments. The key components are Markdown parser, tools for formatting F# code snippets, including tool tip type information and a tool for generating documentation from library metadata.


Keywords
F#, code, formatting, fsharp, fssnip, literate, markdown, programming
License
Apache-2.0
Install
Install-Package FSharp.Formatting.CommandTool -Version 11.5.1

Documentation

fsdocs and FSharp.Formatting Build and Test

The FSharp.Formatting package includes libraries and tools for processing F# script files, markdown and components for documentation generation. The primary tool is "fsdocs".

See https://fsprojects.github.io/FSharp.Formatting/

Development

dotnet fsi build.fsx

Once built, you can run the command-line tool to self-build the docs for this directory using

dotnet build
src\fsdocs-tool\bin\Debug\net6.0\fsdocs.exe watch
src\fsdocs-tool\bin\Debug\net6.0\fsdocs.exe build --clean

Pipelines

Run dotnet fsi build.fsx -- --help

to see what other pipelines can be run from build.fsx.

dotnet fsi build.fsx -- -p Verify

Will perform the linting, unit tests and analyzer check. This is useful to run locally before submitting your PR.

Maintainer(s)