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/
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
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.