Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sphinx: Make .pyi files available #699

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Sep 8, 2024

Same config as in pyAMReX to use .pyi interface files in Sphinx docs.

Follow-up to #697 (comment)

@ax3l ax3l added component: documentation Docs, readme and manual enhancement New feature or request component: python Python bindings labels Sep 8, 2024
@ax3l ax3l force-pushed the fix-sphinx-pyi-auto branch from 3b9bff5 to 843f663 Compare September 8, 2024 19:42
@ax3l ax3l added the bug Something isn't working label Sep 8, 2024
@ax3l ax3l force-pushed the fix-sphinx-pyi-auto branch 2 times, most recently from 5ce181a to 5ed3e28 Compare January 7, 2025 02:16
ax3l added 3 commits January 30, 2025 10:25
Same config as in pyAMReX to use `.pyi` interface files in Sphinx
docs.
Sorting issue in pybind11-stubgen can be resolved by:
- moving the base class into a separate file/import
- renaming the base class to something alphabetically earlier
- removing the base class.

Since the class that shows the issue is somewhat unnecessary, we
remove it.
@ax3l ax3l force-pushed the fix-sphinx-pyi-auto branch from 5ed3e28 to 567d692 Compare January 30, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: documentation Docs, readme and manual component: python Python bindings enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant