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

Consider adding #[payable] to Rust docs #1177

Closed
mikedotexe opened this issue May 2, 2024 · 2 comments
Closed

Consider adding #[payable] to Rust docs #1177

mikedotexe opened this issue May 2, 2024 · 2 comments

Comments

@mikedotexe
Copy link
Contributor

I noticed that I couldn't find "payable" in the Rust docs site.

https://docs.rs/near-sdk/latest/near_sdk/index.html?search=payable

I thought #[payable] was removed, checked if it was in the near-sdk-macros crate. I'm not positive of how that macro works, but it seems like it might be important to index in the appropriate crate's documentation so a search could find it.

I've played with the Rust docs a bit and it can be very particular ;) Maybe we can start with anything that gets the content indexed for search, even if it doesn't fit as nicely as we'd like.

@frol
Copy link
Collaborator

frol commented May 28, 2024

Getting macro attributes documented is really tricky, but this is indeed one of the most important aspects of near-sdk.

@frol
Copy link
Collaborator

frol commented Jun 20, 2024

Resolved in #1185

@frol frol closed this as completed Jun 20, 2024
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

2 participants