From 1bff0e14dd6d305a7c1ffabe59c6d1126e977f2d Mon Sep 17 00:00:00 2001 From: Tomas Petricek Date: Thu, 29 Oct 2015 14:19:06 -0400 Subject: [PATCH] Avoid showing chart windows during doc generation --- .gitignore | 1 + docs/content/FurtherSamplesGtk.fsx | 4 ++-- docs/content/ReferencingTheLibrary.fsx | 2 +- docs/tools/formatters.fsx | 4 +++- src/AssemblyInfo.Gtk.fs | 6 +++--- src/AssemblyInfo.fs | 6 +++--- 6 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index c6c128d..6e1e455 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ temp/* .paket/paket.exe *.orig docs/output +.fake \ No newline at end of file diff --git a/docs/content/FurtherSamplesGtk.fsx b/docs/content/FurtherSamplesGtk.fsx index 06234ac..4c404df 100644 --- a/docs/content/FurtherSamplesGtk.fsx +++ b/docs/content/FurtherSamplesGtk.fsx @@ -1,6 +1,6 @@ -// On Mac OSX use packages/FSharp.Charting.Gtk.0.90.12/FSharp.Charting.Gtk.fsx -#load "packages/FSharp.Charting.Gtk.0.90.12/FSharp.Charting.Gtk.fsx" +// On Mac OSX use packages/FSharp.Charting.Gtk.0.90.13/FSharp.Charting.Gtk.fsx +#load "packages/FSharp.Charting.Gtk.0.90.13/FSharp.Charting.Gtk.fsx" #load "EventEx-0.1.fsx" open FSharp.Charting diff --git a/docs/content/ReferencingTheLibrary.fsx b/docs/content/ReferencingTheLibrary.fsx index 6d940c6..2fee1df 100644 --- a/docs/content/ReferencingTheLibrary.fsx +++ b/docs/content/ReferencingTheLibrary.fsx @@ -5,7 +5,7 @@ F# Charting is most often used from F# scripts. To use the library in a script, load the `FSharp.Charting.fsx` file, for example from the NuGet package: *) -// On Mac OSX use packages/FSharp.Charting.Gtk.0.90.12/FSharp.Charting.Gtk.fsx +// On Mac OSX use packages/FSharp.Charting.Gtk.0.90.13/FSharp.Charting.Gtk.fsx #load "packages/FSharp.Charting/FSharp.Charting.fsx" (** You can now create a chart: diff --git a/docs/tools/formatters.fsx b/docs/tools/formatters.fsx index f54f50d..dc1fac1 100644 --- a/docs/tools/formatters.fsx +++ b/docs/tools/formatters.fsx @@ -2,6 +2,8 @@ module Formatters #I "../../packages/FSharp.Formatting/lib/net40" #r "FSharp.Markdown.dll" #r "FSharp.Literate.dll" +#r "FSharp.CodeFormat.dll" +#r "RazorEngine.dll" #r "../../packages/FAKE/tools/FakeLib.dll" #load "../../bin/FSharp.Charting.fsx" @@ -63,6 +65,6 @@ let createFsiEvaluator root output = | _ -> None // Create FSI evaluator, register transformations & return - let fsiEvaluator = FsiEvaluator() + let fsiEvaluator = FsiEvaluator(fsiObj = FsiEvaluatorConfig.CreateNoOpFsiObject()) fsiEvaluator.RegisterTransformation(transformation) fsiEvaluator \ No newline at end of file diff --git a/src/AssemblyInfo.Gtk.fs b/src/AssemblyInfo.Gtk.fs index 4caa6c4..91d2cf6 100644 --- a/src/AssemblyInfo.Gtk.fs +++ b/src/AssemblyInfo.Gtk.fs @@ -4,9 +4,9 @@ open System.Reflection [] [] [] -[] -[] +[] +[] do () module internal AssemblyVersionInformation = - let [] Version = "0.90.12" + let [] Version = "0.90.13" diff --git a/src/AssemblyInfo.fs b/src/AssemblyInfo.fs index b310969..b6ca306 100644 --- a/src/AssemblyInfo.fs +++ b/src/AssemblyInfo.fs @@ -4,9 +4,9 @@ open System.Reflection [] [] [] -[] -[] +[] +[] do () module internal AssemblyVersionInformation = - let [] Version = "0.90.12" + let [] Version = "0.90.13"