FSharpPlus icon indicating copy to clipboard operation
FSharpPlus copied to clipboard

Should probably reference the nuget package, not the local dll, on the website?

Open WhiteBlackGoose opened this issue 4 years ago • 3 comments

I've seen a sample on the website, which looks like this:

#r @"../../src/FSharpPlus/bin/Release/net45/FSharpPlus.dll"
open FSharpPlus

But it's probably a good idea to show real life usage, like this:

#r "nuget:FSharpPlus"
open FSharpPlus

And for developers, it would be

#i "MyPath/Debug/bin"
#r "nuget:FSharpPlus"
open FSharpPlus

But I didn't get how to modify the website, so opened an issue.

WhiteBlackGoose avatar May 06 '21 11:05 WhiteBlackGoose

I agree. The docs should be rendered so that the ref paths show.

wallymathieu avatar May 06 '21 17:05 wallymathieu

#435 is pending merge which address the first part.

smoothdeveloper avatar May 06 '21 17:05 smoothdeveloper

You could add a lot of :

    (**
    ```f#
    #r @"nuget: FSharpPlus"
    ```
    *)

et.c.

wallymathieu avatar May 06 '21 17:05 wallymathieu

Implemented in #489

gusty avatar Sep 06 '22 18:09 gusty