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

Order of sections in operator docstrings #854

Open
kohr-h opened this issue Jan 22, 2017 · 0 comments
Open

Order of sections in operator docstrings #854

kohr-h opened this issue Jan 22, 2017 · 0 comments

Comments

@kohr-h
Copy link
Member

kohr-h commented Jan 22, 2017

As discussed here there needs to be a guideline about the order of documentation sections, at least for classes.

My view on this is:

  • Parameters (Raises, Yields, anything API-related) as far up as possible, they're needed the most.
  • Examples immediately afterwards, equally (or even more) important
  • Notes - often contain important (math) details, but useful for initial understanding, not so much for later usage of a class
  • See Also
  • References
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

2 participants