-
Notifications
You must be signed in to change notification settings - Fork 2
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
feature request: include doc comments in embed #8
Comments
Yes I was actually thinking about this when I saw your previous issue. I'll see if I can work it in soon |
Ideally, I would expand this to any attribute. So, we need a way to say:
|
if we want to get that granular, might make sense to simply have an additional attribute could also have a convenience For all of the above, docify-related attributes would be ignored |
Simplest use case is that atm #[docify::export]
/// A mapping from `T::AccountId` to `Balance`.
#[pallet::storage]
pub type Balances<T: Config> = StorageMap<Key = T::AccountId, Value = Balance>; is not capable of picking up the docs, and it would be good if it does. No strong opinion about the syntax. |
It would be helpful if the doc comment for exported items could be optionally included with the code.
The text was updated successfully, but these errors were encountered: