Skip to content

Commit 2f1a8b2

Browse files
authored
Update READMEs, fix links (#7176)
* Re-generate READMEs to fix doc links; set readme field in package manifests * Re-generate READMEs to fix doc links; set readme field in package manifests * Re-generate READMEs to fix doc links; set readme field in package manifests * Re-generate READMEs to fix doc links; set readme field in package manifests * Revert stuff that shouldn't have been committed * Revert stuff that shouldn't have been committed * Fix parent relative link generation * Manually remove this incorrect link for now.
1 parent 50bdd00 commit 2f1a8b2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ license = "Apache-2.0"
77
homepage = "https://substrate.dev"
88
repository = "https://github.com/paritytech/substrate/"
99
description = "FRAME pallet for sudo"
10+
readme = "README.md"
1011

1112
[package.metadata.docs.rs]
1213
targets = ["x86_64-unknown-linux-gnu"]

README.md

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

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

66
## Overview
77

@@ -56,12 +56,12 @@ decl_module! {
5656

5757
## Genesis Config
5858

59-
The Sudo module depends on the [`GenesisConfig`](./struct.GenesisConfig.html).
59+
The Sudo module depends on the [`GenesisConfig`](https://docs.rs/pallet-sudo/latest/pallet_sudo/struct.GenesisConfig.html).
6060
You need to set an initial superuser account as the sudo `key`.
6161

6262
## Related Modules
6363

64-
* [Democracy](../pallet_democracy/index.html)
64+
* [Democracy](https://docs.rs/pallet-democracy/latest/pallet_democracy/)
6565

6666
[`Call`]: ./enum.Call.html
6767
[`Trait`]: ./trait.Trait.html

0 commit comments

Comments
 (0)