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