File tree Expand file tree Collapse file tree 11 files changed +83
-242
lines changed Expand file tree Collapse file tree 11 files changed +83
-242
lines changed Original file line number Diff line number Diff line change 6
6
/** /packages /
7
7
/** /bin /
8
8
/** /obj /
9
- _site
9
+ /_site
10
+ /api
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
{
4
4
"src" : [
5
5
{
6
- "files" : " Functions.csproj" ,
7
- "exclude" : [
8
- " **/bin/**" ,
9
- " **/obj/**"
10
- ],
11
- "src" : " ../Functions"
6
+ "src" : " ../Functions" ,
7
+ "files" : [
8
+ " **/*.csproj"
9
+ ]
12
10
}
13
11
],
14
- "dest" : " api" ,
15
- "disableGitFeatures" : false ,
16
- "disableDefaultFilter" : false
12
+ "dest" : " api"
17
13
}
18
14
],
19
15
"build" : {
20
16
"content" : [
21
17
{
22
18
"files" : [
23
- " api/**.yml" ,
24
- " api/index.md"
25
- ]
26
- },
27
- {
28
- "files" : [
29
- " articles/**.md" ,
30
- " articles/**/toc.yml" ,
31
- " toc.yml" ,
32
- " *.md"
19
+ " **/*.{md,yml}"
20
+ ],
21
+ "exclude" : [
22
+ " _site/**"
33
23
]
34
24
}
35
25
],
40
30
]
41
31
}
42
32
],
43
- "overwrite" : [
44
- {
45
- "files" : [
46
- " apidoc/**.md"
47
- ],
48
- "exclude" : [
49
- " obj/**" ,
50
- " _site/**"
51
- ]
52
- }
53
- ],
54
- "dest" : " _site" ,
55
- "globalMetadataFiles" : [],
56
- "fileMetadataFiles" : [],
33
+ "output" : " _site" ,
57
34
"template" : [
58
- " default"
35
+ " default" ,
36
+ " modern"
59
37
],
60
- "postProcessors" : [],
61
- "markdownEngineName" : " markdig" ,
62
- "noLangKeyword" : false ,
63
- "keepFileLink" : false ,
64
- "cleanupCacheHistory" : false ,
65
- "disableGitFeatures" : false
38
+ "globalMetadata" : {
39
+ "_appName" : " functions-csharp" ,
40
+ "_appTitle" : " functions-csharp" ,
41
+ "_enableSearch" : true
42
+ }
66
43
}
67
44
}
Original file line number Diff line number Diff line change 1
- # realtime-csharp
1
+ ---
2
+ _layout : landing
3
+ ---
4
+
5
+ # functions-csharp
Original file line number Diff line number Diff line change 1
- - name : Articles
2
- href : articles/
3
- - name : Api Documentation
1
+ - name : API
4
2
href : api/
5
- homepage : api/index.md
Original file line number Diff line number Diff line change
1
+ name : Build and Test
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : [master]
8
+
9
+ jobs :
10
+ build-and-test :
11
+ runs-on : ubuntu-latest
12
+
13
+ env :
14
+ TOKEN : ${{ secrets.TOKEN }}
15
+ FUNCTION_ENDPOINT : ${{ secrets.FUNCTION_ENDPOINT }}
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+
20
+ - name : Setup .NET
21
+ uses : actions/setup-dotnet@v3
22
+ with :
23
+ dotnet-version : 8.x
24
+
25
+ - name : Restore dependencies
26
+ run : dotnet restore
27
+
28
+ - name : Build
29
+ run : dotnet build --configuration Release --no-restore
30
+
31
+ - name : Test
32
+ run : dotnet test --no-restore
Original file line number Diff line number Diff line change @@ -10,19 +10,23 @@ jobs:
10
10
docs :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v3
14
14
with :
15
15
persist-credentials : false
16
16
17
- - uses : nikeee/docfx-action@v1.0.0
18
- name : Build Documentation
17
+ - name : Setup .NET
18
+ uses : actions/setup-dotnet@v3
19
19
with :
20
- args : .documentation/docfx.json
20
+ dotnet-version : 8.x
21
+
22
+ - name : Install docfx
23
+ run : dotnet tool update -g docfx
24
+
25
+ - name : Build documentation
26
+ run : docfx .documentation/docfx.json
21
27
22
28
- name : Deploy 🚀
23
- uses : JamesIves/github-pages-deploy-action@3.7.1
29
+ uses : JamesIves/github-pages-deploy-action@v4
24
30
with :
25
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
- BRANCH : gh-pages
27
- FOLDER : .documentation/_site # The folder the action should deploy.
28
- CLEAN : true # Automatically remove deleted files from the deploy branch
31
+ folder : .documentation/_site
32
+ token : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments