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

Add examples to all user-facing docstrings #177

Open
BalzaniEdoardo opened this issue Jun 19, 2024 · 1 comment
Open

Add examples to all user-facing docstrings #177

BalzaniEdoardo opened this issue Jun 19, 2024 · 1 comment
Assignees

Comments

@BalzaniEdoardo
Copy link
Collaborator

BalzaniEdoardo commented Jun 19, 2024

Make sure that all user facing function as a clear example.

@BalzaniEdoardo BalzaniEdoardo changed the title Revisit API Guide Content Add examples to all user-facing docstrings Sep 12, 2024
@BalzaniEdoardo BalzaniEdoardo self-assigned this Sep 12, 2024
@BalzaniEdoardo
Copy link
Collaborator Author

Use interactive shell syntax, so that doctest is run over all examples:

        Examples
        --------
        >>> # valid Examples section for docstrings
        >>> 3 + 1
        4

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

No branches or pull requests

1 participant