Repository navigation
V13.0.0/docfx - #79
Merged
Merged
Conversation
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.
[Medium impact] The latest changes address both numbered findings, with no new blocking issue found. SummaryAdds Native and Docker run scripts to DocFX examples, with copy and preview controls and fallback links.
Reviews (5) · Last reviewed commit: "✨ refactor program structure for better ..." · Reviewed by Greptile |
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
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.
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.
|
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.



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:
run-actionsasset 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.API Type Examples:
Documentation Formatting:
AGENTS.mdwithout altering its text.