Update documentation build workflows and Dockerfiles to use latest versions of DocFX and .NET#5324
Merged
Conversation
…rsions of DocFX and .NET
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the documentation site build pipeline and supporting Docker build images to use newer DocFX and .NET SDK tooling, aligning local Docker-based docs builds with the GitHub Actions workflows.
Changes:
- Switch DocFX theme asset references from
docfx.vendor.*todocfx.vendor.min.*in the custom material template partials. - Update Linux/Windows docs-build Dockerfiles to install DocFX via
dotnet tool installon .NET SDK images. - Refresh documentation build workflows to use centralized
DOCFX_VERSION/DOTNET_VERSIONenvironment variables and updated setup steps.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pages/templates/material/partials/scripts.tmpl.partial | Update DocFX vendor script reference to the minified filename. |
| pages/templates/material/partials/head.tmpl.partial | Update DocFX vendor stylesheet reference to the minified filename. |
| pages/Dockerfile-Windows | Move to .NET SDK Windows base image and install DocFX as a .NET tool. |
| pages/Dockerfile-Linux | Move to .NET SDK Linux base image and install DocFX as a .NET tool. |
| pages/articles/buildingdocker.md | Update Docker run examples to call docfx directly and use consistent working directories. |
| .github/workflows/checkdocumentationbuild.yml | Parameterize DocFX/.NET versions and update the setup/install steps for docs build validation. |
| .github/workflows/builddocsite.yml | Parameterize DocFX/.NET versions and update the setup/install steps for scheduled/manual doc site publishing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type
Related Issues?
Fix the GH action related to building the documentation site as well as the necessary files and docker images .
Bumped them to the latest possible one