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

translate api standard #9521

Merged
merged 3 commits into from
Mar 31, 2018
Merged

translate api standard #9521

merged 3 commits into from
Mar 31, 2018

Conversation

shanyi15
Copy link
Collaborator

fix #9518

- Function Description

Description of API's function.
The discription includes: meaning, purpose and operation on input of API, reference and corresponding link(if any), formula(if necessary) and explanations of key variables in the formula.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discription -> description


Introduction of API returned value.
Introduce meaning of returned value, provide corrspoding format if necessary.
If returned value is tuple containing multiple parameters, then introduce parameters one by one in order.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is tuple -> is a tuple

- Returns

Introduction of API returned value.
Introduce meaning of returned value, provide corrspoding format if necessary.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrspoding -> corresponding


- Raises(if any)

Abnormity, error that may occur, and possible reasons. If there are more than one possible abnormity or error, they should be listed in order.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Abnormity -> abnormality


Description of API parameters.
Introduce parameters one by one according to the order in API definition.
The introduction includes: data type, defualt value(if any), meaning, etc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defualt -> default

@shanyi15
Copy link
Collaborator Author

Done

@abhinavarora abhinavarora merged commit 0ee4565 into develop Mar 31, 2018
@luotao1 luotao1 deleted the shanyi15-patch-1 branch April 3, 2018 08:20
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

Successfully merging this pull request may close these issues.

translate api_doc_std_cn
3 participants