Skip to content

Commit

Permalink
Finish documenting #[pallet::xxx] macros (paritytech#2638)
Browse files Browse the repository at this point in the history
Closes paritytech/polkadot-sdk-docs#35

- Moves pallet proc macro docs to `frame_support`
- Adds missing docs
- Revise revise existing docs, adding compiling doctests where
appropriate

---------

Co-authored-by: command-bot <>
Co-authored-by: Kian Paimani <[email protected]>
  • Loading branch information
liamaharon and kianenigma authored Mar 3, 2024
1 parent ab719a8 commit a73df4d
Show file tree
Hide file tree
Showing 3 changed files with 1,114 additions and 1,979 deletions.
2 changes: 2 additions & 0 deletions substrate/frame/support/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ aquamarine = { version = "0.5.0" }
[dev-dependencies]
assert_matches = "1.3.0"
pretty_assertions = "1.2.1"
sp-timestamp = { path = "../../primitives/timestamp", default-features = false }
frame-system = { path = "../system" }
sp-crypto-hashing = { path = "../../primitives/crypto/hashing" }

Expand Down Expand Up @@ -96,6 +97,7 @@ std = [
"sp-std/std",
"sp-tracing/std",
"sp-weights/std",
"sp-timestamp/std"
]
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
Expand Down
Loading

0 comments on commit a73df4d

Please sign in to comment.