From dc356ce12a7ff24203074849cafd6ac9cdd8f94f Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 10 Nov 2023 14:36:08 +0100 Subject: [PATCH 1/2] Fix formule 1 example. --- docs/library/HtmlProvider.fsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/library/HtmlProvider.fsx b/docs/library/HtmlProvider.fsx index 6ff942791..ff553f6e9 100644 --- a/docs/library/HtmlProvider.fsx +++ b/docs/library/HtmlProvider.fsx @@ -66,7 +66,7 @@ The `Load` method allows reading the data from a file or web resource. We could The following sample calls the `Load` method with an URL that points to a live version of the same page on wikipedia. *) // Download the table for the 2017 F1 calendar from Wikipedia -let f1Calendar = F1_2017.Load(F1_2017_URL).Tables.``Season calendarEdit`` +let f1Calendar = F1_2017.Load(F1_2017_URL).Tables.``Season calendaredit`` // Look at the top row, being the first race of the calendar let firstRow = f1Calendar.Rows |> Seq.head @@ -146,7 +146,7 @@ let doctorWho = new HtmlProvider() // Get the average number of viewers for each doctor's series run let viewersByDoctor = - doctorWho.Tables.``Season 1 (1963-1964) Edit``.Rows + doctorWho.Tables.``Season 1 (1963-1964) edit``.Rows |> Seq.groupBy (fun season -> season.``Directed by``) |> Seq.map (fun (doctor, seasons) -> let averaged = From 0b85409f29b371712103a5f52a573c32463126e3 Mon Sep 17 00:00:00 2001 From: nojaf Date: Sat, 11 Nov 2023 14:27:11 +0100 Subject: [PATCH 2/2] Update fsdocs-tool to 20.0.0-alpha-009 --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 7cbb4e1a8..783aa8c5a 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "fsdocs-tool": { - "version": "15.0.0", + "version": "20.0.0-alpha-009", "commands": [ "fsdocs" ]