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
Documentation for core.common #1510
Conversation
So far looking beautiful |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should always use #
before descriptions.
We need to put up an annotations style guide.
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
the docs now follow the style in docs/ directory. some of the changes suggested are also implemented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We really need guidelines for this.
For example it might be better to avoid adding the initial ---
, as well as avoiding the space between params and returns. Or even standardize the use of #
for descriptions.
the leading dashes are from docs/. I'm following an existing style as guidelines. |
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
Yeah, I get that, but it might be a bit too verbose for in-source annotations. |
Extra whitespaces are removed and @overload is used whenever possible.
I've updated the docs to fix some errors and rephrase some confusing parts.
|
I opted to make some parameters |
Yeah I'm alright with that. |
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
* docs(core.common): add and improve documentation * refactor(core.common): remove unused variable to get_height() * docs(core.common): remove messy newlines * docs(core.common): fix wording * docs(core.common): use integer instead of number Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * docs(core.common): update docs the docs now follow the style in docs/ directory. some of the changes suggested are also implemented. * docs(core.common): fix typo Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * docs(core.common): restyle annoatations Extra whitespaces are removed and @overload is used whenever possible. * docs(core.common): fix various documentation errors * docs(core.common): simplify unicode description * docs(core.common): fix return value Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * docs(core.common): clarify common.bench for not being a benchmark * docs(common): add disclaimer for numbers in common.serialize --------- Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
* docs(core.common): add and improve documentation * refactor(core.common): remove unused variable to get_height() * docs(core.common): remove messy newlines * docs(core.common): fix wording * docs(core.common): use integer instead of number Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * docs(core.common): update docs the docs now follow the style in docs/ directory. some of the changes suggested are also implemented. * docs(core.common): fix typo Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * docs(core.common): restyle annoatations Extra whitespaces are removed and @overload is used whenever possible. * docs(core.common): fix various documentation errors * docs(core.common): simplify unicode description * docs(core.common): fix return value Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * docs(core.common): clarify common.bench for not being a benchmark * docs(common): add disclaimer for numbers in common.serialize --------- Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
* docs(core.common): add and improve documentation * refactor(core.common): remove unused variable to get_height() * docs(core.common): remove messy newlines * docs(core.common): fix wording * docs(core.common): use integer instead of number Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * docs(core.common): update docs the docs now follow the style in docs/ directory. some of the changes suggested are also implemented. * docs(core.common): fix typo Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * docs(core.common): restyle annoatations Extra whitespaces are removed and @overload is used whenever possible. * docs(core.common): fix various documentation errors * docs(core.common): simplify unicode description * docs(core.common): fix return value Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * docs(core.common): clarify common.bench for not being a benchmark * docs(common): add disclaimer for numbers in common.serialize --------- Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
Closes #1505.