Skip to content

fix: better handle PyO3 packages#132

Merged
rich-iannone merged 5 commits intomainfrom
fix-pyo3-packages
Apr 22, 2026
Merged

fix: better handle PyO3 packages#132
rich-iannone merged 5 commits intomainfrom
fix-pyo3-packages

Conversation

@rich-iannone
Copy link
Copy Markdown
Member

@rich-iannone rich-iannone commented Apr 22, 2026

This PR improves the robustness and compatibility of the docs renderer with PyO3 and other compiled Python extensions. It tries to address several edge cases arising with C-extension modules. Now source links, alias resolution, and docstring handling tend to work correctly for dynamically-inspected objects (such as those from PyO3/Rust, Cython, or built-in modules). We also try to ensure that the documentation output is not polluted by irrelevant dunder attributes.

This PR was prompted by fixing build issues in ggsql-python (posit-dev/ggsql-python#2).

@rich-iannone rich-iannone merged commit b56d046 into main Apr 22, 2026
7 checks passed
@rich-iannone rich-iannone deleted the fix-pyo3-packages branch April 22, 2026 17:43
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.

1 participant