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

fix(docs): some typos in website and nodejs binding docs #4814

Merged
merged 2 commits into from
Jun 30, 2024

Conversation

suyanhanx
Copy link
Member

@suyanhanx suyanhanx commented Jun 26, 2024

Bumped napi-cli to clean the following warning.
image

Signed-off-by: suyanhanx <suyanhanx@gmail.com>
@@ -36,7 +36,10 @@ pub struct Operator(opendal::Operator);
#[napi]
impl Operator {
#[napi(constructor)]
/// @see For a detailed definition of scheme, see https://opendal.apache.org/docs/category/services
/// @see For the full list of scheme, see https://docs.rs/opendal/latest/opendal/services/index.html
Copy link
Member

Choose a reason for hiding this comment

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

Please add comments before #[napi(constructor)].

And I want to avoid redirecting nodejs users to docs.rs. Maybe we can give a simple list of possible services based on enabled services?

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe we can give a simple list of possible services based on enabled services?

It's a more generic need. We can deal with it in a slightly more uniform way.

Copy link
Member Author

Choose a reason for hiding this comment

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

We may create an issue to track this.
I won't fix this in this PR.

@Xuanwo
Copy link
Member

Xuanwo commented Jun 28, 2024

Signed-off-by: suyanhanx <suyanhanx@gmail.com>
@Xuanwo Xuanwo merged commit 6703f6d into main Jun 30, 2024
68 checks passed
@Xuanwo Xuanwo deleted the polish-binding-docs branch June 30, 2024 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants