Skip to content

chore(api): document context block yields - #2318

Merged
kaylareopelle merged 2 commits into
open-telemetry:mainfrom
RedZapdos123:chore/api-context-yieldparam-docs
Sep 3, 2026
Merged

kaylareopelle merged 2 commits into
open-telemetry:mainfrom
RedZapdos123:chore/api-context-yieldparam-docs

Conversation

@RedZapdos123

@RedZapdos123 RedZapdos123 commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

This follows review feedback on #2266 around block documentation in OpenTelemetry::Context.

This PR switches with_current, with_value, and with_values to YARD's @yieldparam tags and removes the stale @param entries so the rendered docs match the actual block behavior.

Signed-off-by: Mridankan Mandal <xerontitan90@gmail.com>
@kaylareopelle
kaylareopelle merged commit ffe513d into open-telemetry:main Sep 3, 2026
65 checks passed
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