From e767707e21c9ba9e90c86533d3a47c432aae8f7b Mon Sep 17 00:00:00 2001 From: Tigger Kindel Date: Fri, 1 Dec 2023 15:27:46 -0700 Subject: [PATCH] Attempt to Publish v2 API docs with new workflow 3 --- .github/workflows/api-docs.yml | 2 +- docfx/docfx.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index 0200f29e4e..f559944f91 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -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 diff --git a/docfx/docfx.json b/docfx/docfx.json index d0dd9e7e45..8b9a1d21a9 100644 --- a/docfx/docfx.json +++ b/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",