paritytech / polkadot-sdk-docs

_THE_ Polkadot SDK Tutorial
19 stars 0 forks source link

Document `#[pallet::xxx]` macros #35

Closed juangirini closed 8 months ago

juangirini commented 1 year ago

Document all #[pallet::xx] macros. Look into the work done for #[pallet::storage], #[pallet::call] and #[pallet::genesis_xxx] for example and inspiration.

### Tasks
- [x] `frame_support_procedural::constant_name` fix links
- [x] `frame_support_procedural::constant` fix links
- [x] `frame_support_procedural::crate_to_crate_version` needs docs
- [x] `frame_support_procedural::benchmark` fix link
- [x] `frame_support_procedural::benchmarks` fix link
- [x] `frame_support_procedural::block` fix link
- [x] `frame_support_procedural::call_index` fix docs and link
- [x] Remove "Rust-Analyzer users" prefix from note linking to frame_support docs
- [x] `frame_support_procedural::error` fix links
- [x] `frame_support_procedural::event` fix links
- [x] `frame_support_procedural::extrinsic_call` fix link
- [x] `frame_support_procedural::feeless_if` fix links
- [x] `frame_support_procedural::generate_deposit` fix links
- [x] `frame_support_procedural::genesis_build` fix link
- [x] `frame_support_procedural::genesis_config` fix link
- [x] `frame_support_procedural::hooks` fix links
- [x] `frame_support_procedural::inject_runtime_type` needs docs
- [x] `frame_support_procedural::instance_benchmarks` fix link
- [x] `frame_support_procedural::origin` fix link
- [x] `frame_support_procedural::pallet` fix links
- [x] `frame_support_procedural::require_transactional` needs docs
- [x] `frame_support_procedural::storage` fix link
- [x] `frame_support_procedural::storage_alias` needs doc
- [x] `frame_support_procedural::storage_version` fix links
- [x] `frame_support_procedural::type_value` fix link
- [x] `frame_support_procedural::validate_unsigned` fix links
Polkadot-Forum commented 10 months ago

This issue has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/decentralized-futures-ecosystem-devrel-team-for-polkadot-by-papermoon/5811/7