Skip to content

Fix GitHub Pages API docs generation for net9.0#104

Merged
archanox merged 2 commits into
masterfrom
copilot/investigate-fix-github-pages-api-docs-deployment
Jun 20, 2026
Merged

Fix GitHub Pages API docs generation for net9.0#104
archanox merged 2 commits into
masterfrom
copilot/investigate-fix-github-pages-api-docs-deployment

Conversation

Copilot AI commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

The GitHub Pages docs workflow was publishing successfully, but the API reference under api/ was not being generated. DocFX was still configured against a stale net8.0 DLL path, so the published site omitted the managed API docs.

  • Align DocFX metadata with the project

    • Point DocFX at KartaViewSharp/KartaViewSharp.csproj instead of a hard-coded build output path
    • Update DocFX metadata generation to target net9.0
  • Align the docs workflow with the repository SDK

    • Update the Pages/docs workflow to install the .NET 9 SDK before building and running DocFX
  • Result

    • Restores managed-reference generation so the api/ section is produced and published to GitHub Pages again
{
  "src": [
    {
      "src": ".",
      "files": [ "KartaViewSharp/KartaViewSharp.csproj" ]
    }
  ],
  "dest": "api",
  "properties": {
    "TargetFramework": "net9.0"
  }
}

@codacy-production

codacy-production Bot commented Jun 20, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · +0.46% coverage variation

Metric Results
Coverage variation +0.46% coverage variation (-1.00%)
Diff coverage diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (123bbe6) 989 260 26.29%
Head commit (b7ad6e1) 13221 (+12232) 3536 (+3276) 26.75% (+0.46%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#104) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copilot AI changed the title [WIP] Investigate and fix GitHub Pages API docs deployment issue Fix GitHub Pages API docs generation for net9.0 Jun 20, 2026
Copilot AI requested a review from archanox June 20, 2026 06:32
@archanox
archanox marked this pull request as ready for review June 20, 2026 06:35
Copilot AI review requested due to automatic review settings June 20, 2026 06:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@archanox
archanox merged commit 8e751d4 into master Jun 20, 2026
12 of 16 checks passed
@archanox
archanox deleted the copilot/investigate-fix-github-pages-api-docs-deployment branch June 20, 2026 08:29
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants