Skip to content

[ty] Add an abstraction for rendering docstring sections as Markdown#25755

Draft
lerebear wants to merge 1 commit into
lerebear/push-wqpsynnsqtxqfrom
lerebear/push-xqxkuvupyxpl
Draft

[ty] Add an abstraction for rendering docstring sections as Markdown#25755
lerebear wants to merge 1 commit into
lerebear/push-wqpsynnsqtxqfrom
lerebear/push-xqxkuvupyxpl

Conversation

@lerebear

@lerebear lerebear commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

This abstraction is as of yet unused, but will ultimately power Markdown rendering for the three common docstring formats that we support (reStructuredText, Google, and NumPy).

/xref astral-sh/ty#3454
/xref astral-sh/ty#1667

Test Plan

Please see included tests.

@lerebear lerebear added the internal An internal refactor or improvement label Jun 8, 2026
@astral-sh-bot astral-sh-bot Bot added server Related to the LSP server ty Multi-file analysis & type inference labels Jun 8, 2026
@lerebear lerebear force-pushed the lerebear/push-xqxkuvupyxpl branch from 8e9c4bb to df3ce9a Compare June 8, 2026 22:11
This abstraction is as of yet unused, but will ultimately power Markdown
rendering for the three common docstring formats that we support (reStructuredText,
Google, and NumPy)
@lerebear lerebear force-pushed the lerebear/push-xqxkuvupyxpl branch from df3ce9a to 0788015 Compare June 9, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement server Related to the LSP server ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant