Skip to content

Commit

Permalink
Attempt to Publish v2 API docs with new workflow 3
Browse files Browse the repository at this point in the history
  • Loading branch information
tig committed Dec 1, 2023
1 parent d1c19dc commit e767707
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
working-directory: docfx
# https://stackoverflow.com/questions/56726429/how-to-run-multiple-commands-in-one-github-actions-docker
run: |
rm ../docs -Recurse -Force -ErrorAction SilentlyContinue
rm ../v2_docs -Recurse -Force -ErrorAction SilentlyContinue
rm ../api -Recurse -Force -ErrorAction SilentlyContinue
$env:DOCFX_SOURCE_BRANCH_NAME="${{ github.ref_name }}"
docfx docfx.json
Expand Down
6 changes: 3 additions & 3 deletions docfx/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"src": "../Terminal.Gui"
}
],
"dest": "api/Terminal.Gui2",
"dest": "api/Terminal.Gui",
"shouldSkipMarkup": true,
"properties": {
"TargetFramework": "net7.0"
Expand All @@ -32,7 +32,7 @@
"src": "../UICatalog"
}
],
"dest": "api/UICatalog2",
"dest": "api/UICatalog",
"shouldSkipMarkup": false,
"properties": {
"TargetFramework": "net7.0"
Expand Down Expand Up @@ -87,7 +87,7 @@
]
}
],
"dest": "../v2docs",
"dest": "../v2_docs",
"globalMetadata": {
"_enableSearch": "true",
"_appLogoPath": "images/logo48.png",
Expand Down

0 comments on commit e767707

Please sign in to comment.