dotnet new template setting up the necessary folder structure and files for FSharp.Formatting documentation. It uses a custom fslab color scheme and html template.
The current version is live on gh-pages:
https://fslab.org/docs-template/
dotnet new -i FsLab.DocumentationTemplateIf not already present, create a local tool manifest in the root of your project that you want to write documentation for:
dotnet new tool-manifestThen, still in the root of your project, run:
dotnet new fslab-docsfor more more indepth information head over here
To (re)compile with sass:
build.cmd -t compileSass (Win)
build.sh -t compileSass (Mac/Linux)
Build the template nuget package:
build.cmd (Win)
build.sh (Mac/Linux)
Start fsdocs in watcher mode for the test project:
build.cmd -t watchDocs (Win)
build.sh -t watchEDocs (Mac/Linux)
Test the template package intallation and check correct contents of an initialized template:
build.cmd -t test (Win)
build.sh -t test (Mac/Linux)
will create the template output in the tests folder.
Release nuget package and create a tag on the repo:
build.cmd -t release (Win)
build.sh -t release (Mac/Linux)