mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
Attempt to Publish v2 API docs with new workflow 3
This commit is contained in:
2
.github/workflows/api-docs.yml
vendored
2
.github/workflows/api-docs.yml
vendored
@@ -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
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"src": "../Terminal.Gui"
|
||||
}
|
||||
],
|
||||
"dest": "api/Terminal.Gui2",
|
||||
"dest": "api/Terminal.Gui",
|
||||
"shouldSkipMarkup": true,
|
||||
"properties": {
|
||||
"TargetFramework": "net7.0"
|
||||
@@ -32,7 +32,7 @@
|
||||
"src": "../UICatalog"
|
||||
}
|
||||
],
|
||||
"dest": "api/UICatalog2",
|
||||
"dest": "api/UICatalog",
|
||||
"shouldSkipMarkup": false,
|
||||
"properties": {
|
||||
"TargetFramework": "net7.0"
|
||||
@@ -87,7 +87,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"dest": "../v2docs",
|
||||
"dest": "../v2_docs",
|
||||
"globalMetadata": {
|
||||
"_enableSearch": "true",
|
||||
"_appLogoPath": "images/logo48.png",
|
||||
|
||||
Reference in New Issue
Block a user