diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index f559944f9..81f31a420 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -11,7 +11,7 @@ permissions: jobs: # Single deploy job since we're just deploying deploy: - name: Build and Deploy API docs to gh-pages + name: Build and Deploy API docs to ${{ steps.deployment.outputs.page_url }} environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -33,7 +33,6 @@ jobs: - name: DocFX Build working-directory: docfx - # https://stackoverflow.com/questions/56726429/how-to-run-multiple-commands-in-one-github-actions-docker run: | rm ../v2_docs -Recurse -Force -ErrorAction SilentlyContinue rm ../api -Recurse -Force -ErrorAction SilentlyContinue diff --git a/docfx/docfx.json b/docfx/docfx.json index 8b9a1d21a..02650ba53 100644 --- a/docfx/docfx.json +++ b/docfx/docfx.json @@ -13,7 +13,7 @@ "src": "../Terminal.Gui" } ], - "dest": "api/Terminal.Gui", + "dest": "v2/api/Terminal.Gui", "shouldSkipMarkup": true, "properties": { "TargetFramework": "net7.0" @@ -32,7 +32,7 @@ "src": "../UICatalog" } ], - "dest": "api/UICatalog", + "dest": "v2/api/UICatalog", "shouldSkipMarkup": false, "properties": { "TargetFramework": "net7.0"