Skip to content

Fix C# doctest failure in Metric View rename how-to - #435

Merged
mlonsk merged 1 commit into
mainfrom
fix/doctest-rename-output-fence
Oct 19, 2026
Merged

mlonsk merged 1 commit into
mainfrom
fix/doctest-rename-output-fence

Conversation

@mlonsk

@mlonsk mlonsk commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Problem

The Doctest C# code blocks job fails on main since #416 (run 38947235522):

csharp_doctest: run block 'rename' (line 34) has output=true but is not immediately followed by a plain output fence
content/how-tos/semantic-bridge-rename-objects.md

#416 changed the output fence after the rename run block from a plain fence to ````text. build_scripts/csharp_doctest.py` only accepts a fence with no language tag as the documented output of an `output=true` block.

Fix

Restore the plain fence. One-line change.

Verification

python build_scripts/csharp_doctest.py validate passes for every page containing output=true run blocks.

csharp_doctest requires a run block with output=true to be followed
immediately by a plain (untagged) fence. #416 changed it to ```text,
which fails the Doctest C# code blocks job on main.
@mlonsk
mlonsk requested a review from Metallist1 October 19, 2026 07:20
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://lemon-wave-075f3af03-435.westeurope.5.azurestaticapps.net

1 similar comment
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://lemon-wave-075f3af03-435.westeurope.5.azurestaticapps.net

@mlonsk
mlonsk merged commit ae021e5 into main Oct 19, 2026
12 checks passed
@mlonsk
mlonsk deleted the fix/doctest-rename-output-fence branch October 19, 2026 07:56
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