Sacha Lansky
1d5a9d25e2
[improve docs] Example pallet crate and Basic Example pallet ( #1546 )
...
This fixes the broken links in the crate level documentation of the
Examples crate. It also updates the documentation for the Basic Example
pallet by removing the template for documenting a pallet (we now have
[this](https://github.com/paritytech/polkadot-sdk/blob/master/docs/DOCUMENTATION_GUIDELINE.md )
to refer to instead).
Note: I found it unnecessary to provide a link to the doc guidelines as
I don't think this would be where someone should discover them. I also
want to flag some ideas that came while making these minor improvements
in [this
issue](https://github.com/paritytech/polkadot-sdk-docs/issues/27 ) (for a
subsequent PR) as part of ongoing docs work.
2023-09-18 11:05:12 +02:00
gupnik
5d8774016c
[FRAME Core] Adds ability to split a pallet across multiple files ( #13950 )
...
* Initial setup
* Updates macro_magic version and refactors accordingly
* Removes unwrap from macro
* Splits into multiple sections
* Uses call_site to fix macro hygiene issue
* Initial setup
* Removes unnecessary changes
* Moves template palet back
* Updates cargo.lock
* Moves BagsList inside mod
* Comments access to internal functions for now
* Updates tests
* Uncomments code
* Fixes test
* Moves bags-list to separate crate
* Initial setup
* Removes bags-list changes
* Fix structure
* Minor update
* Addresses review comment
* Adds a couple of UI tests. More to be added
* Adds err files
* Adds test for no pallet
* Adds doc
* Updates versions
* Adds benchmarking
* Updates doc link
* ".git/.scripts/commands/fmt/fmt.sh"
* Minor update
* Adds missing changes
* ".git/.scripts/commands/fmt/fmt.sh"
* Update frame/support/procedural/src/lib.rs
Co-authored-by: Sam Johnson <sam@durosoft.com >
* Addresses review comments
* Addresses review comments
* ".git/.scripts/commands/fmt/fmt.sh"
* Update frame/support/procedural/src/lib.rs
Co-authored-by: Sam Johnson <sam@durosoft.com >
* Update frame/support/procedural/src/lib.rs
Co-authored-by: Sam Johnson <sam@durosoft.com >
* Update frame/support/procedural/src/lib.rs
Co-authored-by: Sam Johnson <sam@durosoft.com >
* Adds UI test for disambiguation
* ".git/.scripts/commands/fmt/fmt.sh"
* Makes clippy happy
* ".git/.scripts/commands/fmt/fmt.sh"
* Fixes frame support test
* Fixes frame support test
* Split items other than storage
* Updates versions
* Fixes some review comments
* Addresses review comments
* ".git/.scripts/commands/fmt/fmt.sh"
* Updates docs
* Adds experimental disclaimer
* ".git/.scripts/commands/fmt/fmt.sh"
* Update frame/support/test/tests/split_ui/no_section_found.rs
Co-authored-by: Sam Johnson <sam@durosoft.com >
* Addresses review comments
* Fixes test
---------
Co-authored-by: command-bot <>
Co-authored-by: command-bot <ci@gitlab.parity.io >
Co-authored-by: Sam Johnson <sam@durosoft.com >
2023-06-27 12:12:03 +00:00
Kian Paimani
6f79a9e941
add pallet macro kitchensink example/template ( #14052 )
...
* add pallet macro kitchen-sink pallet
* update
* Adds benchmarking setup
* Updates APIs
* Fixes benchmark
* Uses derive_impl for frame_system
* Adds benchmarks
* Minor update
* Adds license
* Adds examples crate
* ".git/.scripts/commands/fmt/fmt.sh"
* Update frame/examples/kitchensink/src/tests.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update frame/examples/kitchensink/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update frame/examples/kitchensink/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Addresses review comments
* Addresses review comments
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: Nikhil Gupta <17176722+gupnik@users.noreply.github.com >
Co-authored-by: command-bot <>
Co-authored-by: command-bot <ci@gitlab.parity.io >
2023-06-06 13:47:34 +00:00