mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-22 06:45:41 +00:00
update to docify 0.2.0 / crate-relative embed paths (#14570)
This commit is contained in:
@@ -27,7 +27,7 @@ frame-election-provider-support = { default-features = false, path = "../electio
|
||||
|
||||
frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true, path = "../benchmarking" }
|
||||
|
||||
docify = "0.1.13"
|
||||
docify = "0.2.0"
|
||||
|
||||
[dev-dependencies]
|
||||
pallet-staking-reward-curve = { version = "4.0.0-dev", path = "../staking/reward-curve" }
|
||||
|
||||
@@ -71,10 +71,10 @@
|
||||
//! ### Example
|
||||
//!
|
||||
//! 1. Fast-unstake with multiple participants in the queue.
|
||||
#![doc = docify::embed!("frame/fast-unstake/src/tests.rs", successful_multi_queue)]
|
||||
#![doc = docify::embed!("src/tests.rs", successful_multi_queue)]
|
||||
//!
|
||||
//! 2. Fast unstake failing because a nominator is exposed.
|
||||
#![doc = docify::embed!("frame/fast-unstake/src/tests.rs", exposed_nominator_cannot_unstake)]
|
||||
#![doc = docify::embed!("src/tests.rs", exposed_nominator_cannot_unstake)]
|
||||
//!
|
||||
//! ## Pallet API
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user