From 6b6366f8caa522a41da00ae5f797e14f382394c3 Mon Sep 17 00:00:00 2001 From: Tig Kindel Date: Sat, 17 Sep 2022 10:38:05 -0700 Subject: [PATCH] Merged offline changes (#72) * Create dotnet.yml Upgrading CI/CD to GithubActions * .NET 6 * Updating workflows * github package * tweaking yaml * Fixed path? * removed path * added path back * ugh * added gitver * tweaking ver * new giver stuff for 18.3 * new publish workflow * added nuget.org publishing * renamed master to main * Cleaned up old build files * Disable publishing to GitHub Packages * Disable publishing to GitHub Packages * Revert to v 0.17 * reverted readme * Moved to Gui-cs Org * Creating develop branch & setting up gitflow model * Auto gen API docs * Nuke old docs * Update build script for gitflow * fixes doc gen error * Fixing api doc generation, again * Fixed api link * Removed old refs to migueldeicaza and tig --- .github/workflows/api-docs.yml | 2 +- docfx/build.ps1 | 5 ++++- docfx/docfx.json | 1 + docfx/log.json | 1 - docfx/toc.yml | 8 +++++--- 5 files changed, 11 insertions(+), 6 deletions(-) delete mode 100644 docfx/log.json 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