Skip to content

Commit c76c795

Browse files
committed
try to fix docfx.json
1 parent 72128fb commit c76c795

2 files changed

Lines changed: 50 additions & 49 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ jobs:
4343
dotnet tool update -g docfx
4444
- name: Build DocFX
4545
run: |
46-
docfx docfx/docfx.json
47-
touch ./docfx/_site/.nojekyll
46+
cd docfx
47+
docfx docfx.json
48+
touch _site/.nojekyll
4849
4950
# https://github.com/peaceiris/actions-gh-pages
5051
- name: Deploy

docfx/docfx.json

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
{
2-
"metadata": [
3-
{
4-
"src": [
5-
{
6-
"src": "../NF.Tool.ReleaseNoteMaker/",
7-
"files": [
8-
"**/*.sln"
9-
]
10-
}
11-
],
12-
"allowCompilationErrors": true,
13-
"filter": "filterConfig.yml",
14-
"dest": "api"
15-
}
16-
],
17-
"build": {
18-
"content": [
19-
{
20-
"files": [
21-
"**/*.{md,yml}"
22-
],
23-
"exclude": [
24-
"_site/**"
25-
]
26-
}
27-
],
28-
"resource": [
29-
{
30-
"files": [
31-
"images/**"
32-
]
33-
}
34-
],
35-
"output": "_site",
36-
"template": [
37-
"default",
38-
"modern"
39-
],
40-
"globalMetadata": {
41-
"_appName": "NF.Tool.ReleaseNoteMaker",
42-
"_appTitle": "NF.Tool.ReleaseNoteMaker",
43-
"_googleAnalyticsTagId": "G-855BJNV9VD",
44-
"_enableSearch": true,
45-
"pdf": false
46-
}
47-
}
1+
{
2+
"metadata": [
3+
{
4+
"src": [
5+
{
6+
"src": "../NF.Tool.ReleaseNoteMaker/",
7+
"files": [
8+
"**/*.sln"
9+
]
10+
}
11+
],
12+
"allowCompilationErrors": true,
13+
"filter": "filterConfig.yml",
14+
"dest": "api"
15+
}
16+
],
17+
"build": {
18+
"content": [
19+
{
20+
"files": [
21+
"**/*.{md,yml}"
22+
],
23+
"exclude": [
24+
"_site/**"
25+
]
26+
}
27+
],
28+
"resource": [
29+
{
30+
"files": [
31+
"images/**"
32+
]
33+
}
34+
],
35+
"output": "_site",
36+
"template": [
37+
"default",
38+
"modern"
39+
],
40+
"globalMetadata": {
41+
"_appName": "NF.Tool.ReleaseNoteMaker",
42+
"_appTitle": "NF.Tool.ReleaseNoteMaker",
43+
"_googleAnalyticsTagId": "G-855BJNV9VD",
44+
"_enableSearch": true,
45+
"pdf": false
46+
}
47+
}
4848
}

0 commit comments

Comments
 (0)