Header menu logo F# Compiler Guide

Running the documentation locally

The source of this documentation website is hosted on https://github.com/fsharp/fsharp-compiler-docs.
You can follow this guide to see the results of your document changes rendered in the browser.


fsharp/fsharp-compiler-docs will clone the dotnet/fsharp repository first to generate the documentation.
You can however, easily run the documentation locally and modify the docs from dotnet/fsharp.

git clone https://github.com/fsharp/fsharp-compiler-docs.git
cd fsharp-compiler-docs/FSharp.Compiler.Service
dotnet restore
cd ..
dotnet tool restore
dotnet fsdocs watch --eval --sourcefolder ../fsharp/ --input ../fsharp/docs/

Release notes caveat

The release notes pages from docs/release-notes are composed from the MarkDown files in subfolders.
Changing any of these files, won't regenerate the served webpage. Only the changes to the .fsx will trigger the tool. This is a known limitation.

Multiple items
namespace Microsoft.FSharp

namespace FSharp

Type something to start searching.