Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit ece32a7

Browse files
docs: Fix broken documentation links for pallets (#13241)
Fixes broken links to `Config` and `Call`, for READMEs the link has been fixed by adding the missing "/pallet" path, and for rust docs we let the compiler figure out the type's link by itself Signed-off-by: Jonathas-Conceicao <[email protected]>
1 parent 1e6b892 commit ece32a7

File tree

7 files changed

+12
-15
lines changed

7 files changed

+12
-15
lines changed

frame/multisig/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Multisig Module
22
A module for doing multisig dispatch.
33

4-
- [`multisig::Config`](https://docs.rs/pallet-multisig/latest/pallet_multisig/trait.Config.html)
5-
- [`Call`](https://docs.rs/pallet-multisig/latest/pallet_multisig/enum.Call.html)
4+
- [`Config`](https://docs.rs/pallet-multisig/latest/pallet_multisig/pallet/trait.Config.html)
5+
- [`Call`](https://docs.rs/pallet-multisig/latest/pallet_multisig/pallet/enum.Call.html)
66

77
## Overview
88

frame/multisig/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@
3939
//! number of signed origins.
4040
//! * `approve_as_multi` - Approve a call from a composite origin.
4141
//! * `cancel_as_multi` - Cancel a call from a composite origin.
42-
//!
43-
//! [`Call`]: ./enum.Call.html
44-
//! [`Config`]: ./trait.Config.html
4542
4643
// Ensure we're `no_std` when compiling for Wasm.
4744
#![cfg_attr(not(feature = "std"), no_std)]

frame/nicks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Nicks Module
22

3-
- [`nicks::Config`](https://docs.rs/pallet-nicks/latest/pallet_nicks/trait.Config.html)
4-
- [`Call`](https://docs.rs/pallet-nicks/latest/pallet_nicks/enum.Call.html)
3+
- [`Config`](https://docs.rs/pallet-nicks/latest/pallet_nicks/pallet/trait.Config.html)
4+
- [`Call`](https://docs.rs/pallet-nicks/latest/pallet_nicks/pallet/enum.Call.html)
55

66
## Overview
77

frame/proxy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ The accounts to which permission is delegated may be requied to announce the act
66
wish to execute some duration prior to execution happens. In this case, the target account may
77
reject the announcement and in doing so, veto the execution.
88

9-
- [`proxy::Config`](https://docs.rs/pallet-proxy/latest/pallet_proxy/trait.Config.html)
10-
- [`Call`](https://docs.rs/pallet-proxy/latest/pallet_proxy/enum.Call.html)
9+
- [`Config`](https://docs.rs/pallet-proxy/latest/pallet_proxy/pallet/trait.Config.html)
10+
- [`Call`](https://docs.rs/pallet-proxy/latest/pallet_proxy/pallet/enum.Call.html)
1111

1212
## Overview
1313

frame/sudo/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Sudo Module
22

3-
- [`sudo::Config`](https://docs.rs/pallet-sudo/latest/pallet_sudo/trait.Config.html)
4-
- [`Call`](https://docs.rs/pallet-sudo/latest/pallet_sudo/enum.Call.html)
3+
- [`Config`](https://docs.rs/pallet-sudo/latest/pallet_sudo/pallet/trait.Config.html)
4+
- [`Call`](https://docs.rs/pallet-sudo/latest/pallet_sudo/pallet/enum.Call.html)
55

66
## Overview
77

frame/utility/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Utility Module
22
A stateless module with helpers for dispatch management which does no re-authentication.
33

4-
- [`utility::Config`](https://docs.rs/pallet-utility/latest/pallet_utility/trait.Config.html)
5-
- [`Call`](https://docs.rs/pallet-utility/latest/pallet_utility/enum.Call.html)
4+
- [`utility::Config`](https://docs.rs/pallet-utility/latest/pallet_utility/pallet/trait.Config.html)
5+
- [`Call`](https://docs.rs/pallet-utility/latest/pallet_utility/pallet/enum.Call.html)
66

77
## Overview
88

frame/vesting/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Vesting Module
22

3-
- [`vesting::Config`](https://docs.rs/pallet-vesting/latest/pallet_vesting/trait.Config.html)
4-
- [`Call`](https://docs.rs/pallet-vesting/latest/pallet_vesting/enum.Call.html)
3+
- [`Config`](https://docs.rs/pallet-vesting/latest/pallet_vesting/pallet/trait.Config.html)
4+
- [`Call`](https://docs.rs/pallet-vesting/latest/pallet_vesting/pallet/enum.Call.html)
55

66
## Overview
77

0 commit comments

Comments
 (0)