Fix call enum's metadata regression (#3513)
This fixes an issue introduced in https://github.com/paritytech/substrate/pull/14101, in which I removed the `Call` enum's documentation and replaced it with a link to the `Pallet` struct, but this also removed any docs related to call from the metadata. I tried to add a regression test for this, but it seems to me that this is not possible, given that using `type-info` we only assert in type-ids for `Call`, `Event` and `Error`. I removed some doc comments from a test setup in `frame-support-test` to demonstrate the issue there. @jsdw do you have any comments on this? I also fixed a small issue in the custom html/css of `polkadot-sdk-doc` crate, making sure it does not affect the rust-doc page of all other crates. - [x] Investigate a regression test - [x] prdoc
parent
7f5d308d
Showing
- docs/sdk/headers/header.html 58 additions, 53 deletionsdocs/sdk/headers/header.html
- docs/sdk/headers/theme.css 13 additions, 12 deletionsdocs/sdk/headers/theme.css
- prdoc/pr_3513.prdoc 18 additions, 0 deletionsprdoc/pr_3513.prdoc
- substrate/frame/support/Cargo.toml 16 additions, 5 deletionssubstrate/frame/support/Cargo.toml
- substrate/frame/support/procedural/src/pallet/expand/call.rs 3 additions, 18 deletionssubstrate/frame/support/procedural/src/pallet/expand/call.rs
- substrate/frame/support/test/tests/pallet.rs 49 additions, 15 deletionssubstrate/frame/support/test/tests/pallet.rs
prdoc/pr_3513.prdoc
0 → 100644
Please register or sign in to comment