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

Allow switching doc examples between auto and strict mode #641

Open
seifertm opened this issue Oct 23, 2023 · 0 comments
Open

Allow switching doc examples between auto and strict mode #641

seifertm opened this issue Oct 23, 2023 · 0 comments

Comments

@seifertm
Copy link
Contributor

Users of pytest-asyncio either use auto mode or strict mode. They cannot mix modes within the same project. Some code examples in the documentation are presented for each mode, but the user is only interested for the examples in one of the modes.

I propose to add sphinx-tabs to the doc dependencies and use group tabs to show only code examples for the selected pytest-asyncio mode.

Code examples that are only available for one mode should be provided for both, auto mode and strict mode as part of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant