Skip to content

Commit

Permalink
nuke files and replace by doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyme committed Nov 4, 2021
1 parent c09057c commit 3b8fc12
Show file tree
Hide file tree
Showing 3,698 changed files with 272 additions and 589,582 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 12 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"fsharp.formatting.commandtool": {
"version": "11.5.1",
"commands": [
"fsdocs"
]
}
}
}
40 changes: 0 additions & 40 deletions .devcontainer/Dockerfile

This file was deleted.

34 changes: 0 additions & 34 deletions .devcontainer/devcontainer.json

This file was deleted.

29 changes: 0 additions & 29 deletions .gitattributes

This file was deleted.

40 changes: 0 additions & 40 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

5 changes: 0 additions & 5 deletions .github/issue_template.md

This file was deleted.

5 changes: 0 additions & 5 deletions .github/pull_request_template.md

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/build.yml

This file was deleted.

30 changes: 18 additions & 12 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,38 @@ name: Release docs
on:
push:
branches:
- master
- main
workflow_dispatch:

jobs:
build:

runs-on: macos-latest
strategy:
matrix:
os: [windows-latest]
dotnet: [5.0.400]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
dotnet-version: 5.0.400
- name: Restore tools
run: dotnet tool restore
working-directory: ./fcs
- name: Restore dependencies
run: dotnet restore
working-directory: ./fcs
- name: Run Fornax
run: dotnet fake build -t GenerateDocs
working-directory: ./fcs
- name: Restore projects
run: dotnet restore FSharp.Compiler.Service\FSharp.Compiler.Service.fsproj
- name: Checkout fsharp master
run: git clone https://github.com/dotnet/fsharp --depth 1 fsharp -b main
- name: Build fsharp master (turn of CI build status)
run: cd fsharp && eng\CIBuild.cmd
- name: Run fsdocs
run: dotnet fsdocs build --sourcefolder fsharp
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./fcs/docsrc/_public
publish_dir: ./output
publish_branch: gh-pages
force_orphan: true
force_orphan: true
32 changes: 32 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Pull request checks

on:
pull_request:
branches:
- '**'

jobs:
build:

strategy:
matrix:
os: [windows-latest]
dotnet: [5.0.400]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.400
- name: Restore tools
run: dotnet tool restore
- name: Restore projects
run: dotnet restore FSharp.Compiler.Service\FSharp.Compiler.Service.fsproj
- name: Checkout fsharp master
run: git clone https://github.com/dotnet/fsharp --depth 1 fsharp -b main
- name: Build fsharp master (turn of CI build status)
run: cd fsharp && eng\CIBuild.cmd
- name: Run fsdocs
run: dotnet fsdocs build --sourcefolder fsharp
44 changes: 0 additions & 44 deletions .github/workflows/publish.yml

This file was deleted.

Loading

0 comments on commit 3b8fc12

Please sign in to comment.