Skip to content

Commit 1d53098

Browse files
committed
Build docs on GitHub action instead of in AppVeyor
1 parent 2e2e85c commit 1d53098

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+29
-109
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,24 @@ jobs:
2323
run: dotnet build build.proj --configuration Release
2424
- name: Test with dotnet
2525
run: dotnet test build.proj -v n
26+
27+
docs:
28+
runs-on: windows-latest
29+
steps:
30+
- uses: actions/checkout@v2
31+
- name: Setup .NET Core 6
32+
uses: actions/setup-dotnet@v1
33+
with:
34+
dotnet-version: 6.0.201
35+
- name: Setup .NET Core 5
36+
uses: actions/setup-dotnet@v1
37+
with:
38+
dotnet-version: 5.0.405
39+
- name: Setup .NET Core 3.1
40+
uses: actions/setup-dotnet@v1
41+
with:
42+
dotnet-version: 3.1.416
43+
- name: Restore
44+
run: git submodule update --init --recursive
45+
- name: Build All Docs
46+
run: dotnet msbuild -target:AllDocs build.proj

appveyor.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ build_script:
1818
- cmd: dotnet build -c Release ./FSharpPlus.sln
1919
- cmd: dotnet test -c Release tests/FSharpPlus.Tests
2020
- ps: if ($env:VersionSuffix) { dotnet pack build.proj --version-suffix $env:VersionSuffix } else { dotnet pack build.proj }
21-
- ps: ./docsrc/tools/download_nugets.ps1
22-
- cmd: dotnet run -c Release --project ./docsrc/tools
2321
test: off
2422
artifacts:
2523
- path: bin

build.proj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
<Exec Command='dotnet test tests/FSharpPlus.Tests -c Release --logger:trx' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
1919
</Target>
2020

21+
<!-- dotnet msbuild -target:AllDocs build.proj -->
22+
<Target Name="AllDocs">
23+
<Exec Command='dotnet build FSharpPlus.sln -c Release' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
24+
<Exec Command='./docsrc/tools/download_nugets.cmd' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" Condition=" '$(OS)' == 'Windows_NT' " />
25+
<Exec Command='./docsrc/tools/download_nugets.sh' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" Condition=" '$(OS)' != 'Windows_NT' " />
26+
<Exec Command='dotnet run -c Release --project ./docsrc/tools' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
27+
</Target>
28+
2129
<Target Name="VSTest" DependsOnTargets="Test" />
2230

2331
</Project>

docsrc/content/abstraction-alternative.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Alternative

docsrc/content/abstraction-applicative.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Applicative

docsrc/content/abstraction-arrow.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Arrow

docsrc/content/abstraction-bifoldable.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Bifoldable

docsrc/content/abstraction-bifunctor.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Bifunctor

docsrc/content/abstraction-bitraversable.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Bitraversable

docsrc/content/abstraction-category.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Category

docsrc/content/abstraction-comonad.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Comonad

docsrc/content/abstraction-contravariant.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Contravariant

docsrc/content/abstraction-foldable.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Foldable

docsrc/content/abstraction-functor.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Functor

docsrc/content/abstraction-misc.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Other abstractions

docsrc/content/abstraction-monad.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Monad

docsrc/content/abstraction-monoid.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Monoid

docsrc/content/abstraction-profunctor.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Profunctor

docsrc/content/abstraction-semigroup.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Semigroup

docsrc/content/abstraction-traversable.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Traversable

docsrc/content/abstractions.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76

docsrc/content/applicative-functors.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

65
(**
76
Functors and Applicatives

docsrc/content/computation-expressions.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54

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

docsrc/content/extension-methods.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
#r @"../../src/FSharpPlus/bin/Release/net45/FSharpPlus.dll"
75
open FSharpPlus
86

docsrc/content/extensions.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54
#r @"../../src/FSharpPlus/bin/Release/net45/FSharpPlus.dll"
65

76
(**

docsrc/content/generic-doc.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
#r @"../../src/FSharpPlus/bin/Release/net45/FSharpPlus.dll"
75
open FSharpPlus
86

docsrc/content/index.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54
#r @"../../src/FSharpPlus/bin/Release/net45/FSharpPlus.dll"
65

76
(**

docsrc/content/lens.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
#r @"../../src/FSharpPlus/bin/Release/net45/FSharpPlus.dll"
75

86
(**

docsrc/content/numerics.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
#r @"../../src/FSharpPlus/bin/Release/net45/FSharpPlus.dll"
75
open FSharpPlus
86

docsrc/content/operators-common.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
#r @"../../src/FSharpPlus/bin/Release/net45/FSharpPlus.dll"
75
open FSharpPlus
86

docsrc/content/parsing.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
54
open System
65
#r @"../../src/FSharpPlus/bin/Release/net45/FSharpPlus.dll"
76
open FSharpPlus

docsrc/content/tutorial.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
Introducing FSharpPlus
86
======================

docsrc/content/type-all.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
All
86
===

docsrc/content/type-any.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
Any
86
===

docsrc/content/type-choicet.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
TO-DO Add some docs here !
86
=========================

docsrc/content/type-compose.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
Compose
86
=======

docsrc/content/type-const.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
Const<'T,'U>
86
============

docsrc/content/type-cont.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
Cont<'R,'U>
86
===========

docsrc/content/type-contt.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
TO-DO Add some docs here !
86
=========================

docsrc/content/type-coproduct.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
TO-DO Add some docs here !
86
=========================

docsrc/content/type-dlist.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
DList
86
=========================

docsrc/content/type-dual.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
TO-DO Add some docs here !
86
=========================

docsrc/content/type-endo.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
TO-DO Add some docs here !
86
=========================

docsrc/content/type-first.fsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
(*** hide ***)
22
// This block of code is omitted in the generated HTML documentation. Use
33
// it to define helpers that you do not want to show in the documentation.
4-
#I "../../bin"
5-
64
(**
75
TO-DO Add some docs here !
86
=========================

0 commit comments

Comments
 (0)