mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 01:07:57 +00:00
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.
This commit is contained in:
@@ -7,6 +7,7 @@ license = "Apache-2.0"
|
||||
homepage = "https://substrate.dev"
|
||||
repository = "https://github.com/paritytech/substrate/"
|
||||
description = "FRAME sessions pallet"
|
||||
readme = "README.md"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
The Session module allows validators to manage their session keys, provides a function for changing
|
||||
the session length, and handles session rotation.
|
||||
|
||||
- [`session::Trait`](./trait.Trait.html)
|
||||
- [`Call`](./enum.Call.html)
|
||||
- [`Module`](./struct.Module.html)
|
||||
- [`session::Trait`](https://docs.rs/pallet-session/latest/pallet_session/trait.Trait.html)
|
||||
- [`Call`](https://docs.rs/pallet-session/latest/pallet_session/enum.Call.html)
|
||||
- [`Module`](https://docs.rs/pallet-session/latest/pallet_session/struct.Module.html)
|
||||
|
||||
## Overview
|
||||
|
||||
@@ -66,7 +66,7 @@ for next session rotation.
|
||||
|
||||
### Example from the FRAME
|
||||
|
||||
The [Staking pallet](../pallet_staking/index.html) uses the Session pallet to get the validator set.
|
||||
The [Staking pallet](https://docs.rs/pallet-staking/latest/pallet_staking/) uses the Session pallet to get the validator set.
|
||||
|
||||
```rust
|
||||
use pallet_session as session;
|
||||
@@ -78,6 +78,6 @@ fn validators<T: pallet_session::Trait>() -> Vec<<T as pallet_session::Trait>::V
|
||||
|
||||
## Related Modules
|
||||
|
||||
- [Staking](../pallet_staking/index.html)
|
||||
- [Staking](https://docs.rs/pallet-staking/latest/pallet_staking/)
|
||||
|
||||
License: Apache-2.0
|
||||
@@ -7,6 +7,7 @@ license = "Apache-2.0"
|
||||
homepage = "https://substrate.dev"
|
||||
repository = "https://github.com/paritytech/substrate/"
|
||||
description = "FRAME sessions pallet benchmarking"
|
||||
readme = "README.md"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
Reference in New Issue
Block a user