From 5109f95ff1fafda4f76da070b17d4660a5e0db72 Mon Sep 17 00:00:00 2001 From: Sean Killeen Date: Wed, 2 Aug 2023 21:10:20 -0400 Subject: [PATCH] Update docfx-action to 2.8.0 (docfx v2.70.0) (#782) * Update build process to use latest docfx-action * Update devcontainer dockerfile to use latest docfx-action * Add the --open-browser param to the `serve` shortcut command * Remove devcontainer param Turns out it doesn't work like we'd expect within a devcontainer. That's fine. * Add VSCode docker extension to devcontainer --- .devcontainer/Dockerfile | 2 +- .devcontainer/devcontainer.json | 3 ++- .github/workflows/build-process.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c16c182a5..7a8be995e 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/nunit/docfx-action:v2.7.0 +FROM ghcr.io/nunit/docfx-action:v2.8.0 EXPOSE 8080 ### Installing Node LTS into the container diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3ef615426..62a742fb1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -16,7 +16,8 @@ "GitHub.vscode-pull-request-github", "shuworks.vscode-table-formatter", "ms-dotnettools.csharp", - "github.vscode-github-actions" + "github.vscode-github-actions", + "ms-azuretools.vscode-docker" ] } } diff --git a/.github/workflows/build-process.yml b/.github/workflows/build-process.yml index 8eddb441d..2dc9fde2d 100644 --- a/.github/workflows/build-process.yml +++ b/.github/workflows/build-process.yml @@ -43,7 +43,7 @@ jobs: steps: - uses: actions/checkout@v3 name: Check out the code - - uses: "nunit/docfx-action@v2.7.0" + - uses: "nunit/docfx-action@v2.8.0" name: Build with Docfx with: args: docs/docfx.json --warningsAsErrors true