You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a stale code sample after a function signature change #9
Copyable code samples can stop working after a function's arguments change, even when the prose around them still sounds right.
Expected change
Add one Markdown example under examples/ using the example guide in examples/README.md. Show a tiny function signature change, an old usage snippet in a guide, and a possible warning. Pick a language a newcomer can understand without installing anything.
Acceptance criteria
The signature change and stale call are both visible.
The example explains what a reader would need to update.
It distinguishes the proposed warning from a feature DocHeal already has.
The example is self-contained and uses fictional code.
How to check
Preview the Markdown and check that the old call no longer matches the new signature. No automated test exists yet.
If this issue is unclaimed, please comment before starting so we can avoid duplicate work.
Activity