anchor.diff:  open Fake.FileHelper
   open FSharp.Literate
   open FSharp.MetadataFormat
  -
  -// When called from 'build.fsx', use the public project URL as <root>
  -// otherwise, use the current 'output' directory.
  -#if RELEASE
  -let root = website
  -#else
  -let root = "file://" + (__SOURCE_DIRECTORY__ @@ "../output")
  -#endif
   
   // Paths with template/source/output locations
   let bin        = __SOURCE_DIRECTORY__ @@ "../../bin"
  
positive.code: 
  // Binaries that have XML documentation (in a corresponding generated XML file)
  let referenceBinaries = [ "Paket.Core.dll" ]
  // Web site location for the generated documentation
  let website = "."
  
  let githubLink = "http://github.com/fsprojects/Paket"
  
  
negative.code:     |> List.map (fun lib-> bin @@ lib)
    MetadataFormat.Generate
      ( binaries, output @@ "reference", layoutRootsAll.["en"],
        parameters = ("root", "../")::info,
        sourceRepo = githubLink @@ "tree/master",
        sourceFolder = __SOURCE_DIRECTORY__ @@ ".." @@ "..",
        publicOnly = true, libDirs = [bin] )
  