Skip to content
Snippets Groups Projects
Commit 4cbf855e authored by Alexandru Vasile's avatar Alexandru Vasile Committed by GitHub
Browse files

Metadata V15: Expose pallet documentation (#13452)


* frame/proc: Helpers to parse pallet documentation attributes

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>

* frame/proc: Expand pallet with runtime metadata documentation

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>

* frame/dispatch: Implement doc function getter for dispatch

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>

* frame/tests: Check exposed runtime metadata documentation

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>

* frame/tests: Add UI tests for `pallet_doc` attribute

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>

* frame/proc: Document pallet_doc attribute

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>

* frame/support: Use `derive_syn_parse`

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>

* Update frame/support/procedural/src/lib.rs

Co-authored-by: default avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>

* frame/support: Improve documentation

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>

---------

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>
Co-authored-by: parity-processbot <>
Co-authored-by: default avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
parent efd5d98e
Branches
Showing
with 396 additions and 0 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment