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
docs: add code fences to Example: docstring blocks
Docstrings using `Example:` sections had indented code without
triple-backtick fences, causing mkdocs to render them as prose
paragraphs instead of code blocks.
- Wrap all unfenced example code in `python ... ` blocks
- Rename `Example usage:` and `Example Usage:` to `Example:` so griffe
recognizes them as proper docstring sections
- Normalize `Examples:` (plural) to `Example:` (singular) for consistent
mkdocs rendering
- Split multi-example blocks into separate fenced blocks with prose
labels where appropriate (`_httpx_utils.py`, `server.py`,
`experimental.py`, `task_support.py`)
0 commit comments