diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index 55b9e4b..4a43c41 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -29,7 +29,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 + rm ../docs -Recurse -Force -ErrorAction SilentlyContinue docfx docfx.json continue-on-error: false diff --git a/docfx/build.ps1 b/docfx/build.ps1 index 2ddee3f..b99f9ca 100644 --- a/docfx/build.ps1 +++ b/docfx/build.ps1 @@ -3,7 +3,10 @@ dotnet clean --configuration Release ../NStack.sln dotnet build --configuration Release ../NStack.sln -rm ../docs -Recurse -Force +rm ../docs -Recurse -Force -ErrorAction SilentlyContinue + + +$env:DOCFX_SOURCE_BRANCH_NAME="main" $env:DOCFX_SOURCE_BRANCH_NAME="main" diff --git a/docfx/docfx.json b/docfx/docfx.json index 739f0ed..1de775c 100644 --- a/docfx/docfx.json +++ b/docfx/docfx.json @@ -18,6 +18,7 @@ "shouldSkipMarkup": true, "properties": { "TargetFramework": "net6.0" + } } ], "build": { diff --git a/docfx/log.json b/docfx/log.json deleted file mode 100644 index 4546bef..0000000 --- a/docfx/log.json +++ /dev/null @@ -1 +0,0 @@ -{"message":"Invalid command line parameter.","source":"ECMA2Yaml","file":null,"line":null,"message_severity":0,"date_time":"2017-06-02T02:01:38.435661Z","log_item_type":2} diff --git a/docfx/toc.yml b/docfx/toc.yml index 8ba567e..eb120c0 100644 --- a/docfx/toc.yml +++ b/docfx/toc.yml @@ -1,5 +1,7 @@ - name: Articles href: articles/ -- name: Api Documentation - href: /api/NStack/ - homepage: /api/NStack/NStack.html +- name: API Reference + href: api/NStack/ + homepage: api/NStack/NStack.html +- name: Source + href: https://github.com/gui-cs/NStack