Skip to content

V13.0.0/docfx - #79

Merged
gimlichael merged 12 commits into
mainfrom
v13.0.0/docfx
Nov 21, 2026
Merged

gimlichael merged 12 commits into
mainfrom
v13.0.0/docfx

Conversation

@gimlichael

Copy link
Copy Markdown
Member

This pull request introduces a DocFX run-actions viewer with Native and Docker PowerShell execution scripts for API documentation examples, refreshes type-page examples so they are runnable and linked to their scripts, and cleans up minor whitespace in repository guidance.

Run-Actions Viewer and Script Assets:

  • Configures DocFX to publish the run-actions asset directory and loads a modern-template script that enhances runnable C# code blocks with copy and preview controls for Native and Docker scripts while preserving fallback links.
  • Adds per-example Native and Docker PowerShell run scripts alongside a settings manifest and hash-tracked index to keep generated scripts aligned with their source examples.

API Type Examples:

  • Links runnable C# examples across API type overwrite pages to their corresponding Native and Docker run scripts.
  • Updates standalone examples with runnable console entry points or xUnit test harnesses, and aligns multi-project hosting examples with maintained repository functional tests and their application projects.

Documentation Formatting:

  • Removes stray blank lines inside the managed DocFX maintenance guidance block in AGENTS.md without altering its text.

Generated API examples can now expose native and Docker run scripts next to each example. The DocFX build copies the run-actions folder into the site, and the modern template loads a small script that adds the view links. The settings and index files keep each script tied to its source hash so stale scripts are easy to spot.
Type pages now link each runnable example to its native and Docker run scripts. Several examples were also rewritten so they compile as standalone programs and state their intent in the surrounding prose.
Removes blank lines inside the managed DocFX guidance block and between its command fences. The block keeps the same wording, so only whitespace changes.
@gimlichael gimlichael self-assigned this Nov 20, 2026
@greptile-apps

greptile-apps Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The latest changes address both numbered findings, with no new blocking issue found.

Summary

Adds Native and Docker run scripts to DocFX examples, with copy and preview controls and fallback links.

  • DocFX builds Native and Docker scripts for its API examples.
  • API code blocks gain buttons to copy or preview their run scripts.
  • API examples now include runnable checks and links to their scripts.
  • AGENTS.md guidance keeps the same text with cleaner spacing.

Reviews (5) · Last reviewed commit: "✨ refactor program structure for better ..." · Reviewed by Greptile

@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.24%. Comparing base (84b1376) to head (6ceaab0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
+ Coverage   94.11%   94.24%   +0.12%     
==========================================
  Files          87       87              
  Lines        1615     1615              
  Branches      181      181              
==========================================
+ Hits         1520     1522       +2     
+ Misses         84       82       -2     
  Partials       11       11              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

aicia-bot and others added 3 commits November 21, 2026 00:41
Run-action scripts were hand-tracked under .docfx/run-actions. The manifest is now the single source of truth and BuildRunActions.ps1 materializes the native and docker scripts from it at docfx build time, so the generated output no longer needs to live in git. BuildDocfxImage.ps1 runs the generator before the image build and cleans the output afterwards.
The generated docker and native scripts and index.json are now produced from the manifest during the docfx build, so keeping them in git only creates drift. Ignore the output folder so it cannot be re-added by accident.
Comment thread .docfx/BuildDocfxImage.ps1 Resolved
gimlichael and others added 5 commits November 21, 2026 02:59
Availability includes belong on namespace overview pages only. The AGENTS.md rule now states that includes are never allowed on type pages or other files under .docfx/api/, and that only DocFX Markdown under that folder may be modified, so the agent guidance matches how the docs are structured.
Type overwrite pages must not contain availability includes, since those are only permitted on namespace overview pages. Removing the include from the six affected type pages brings them in line with that rule.
@sonarqubecloud

Copy link
Copy Markdown

@gimlichael
gimlichael merged commit 0d6fed6 into main Nov 21, 2026
26 checks passed
@gimlichael
gimlichael deleted the v13.0.0/docfx branch November 21, 2026 03:40
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.

2 participants