update to docify 0.2.0 / crate-relative embed paths (#14570)

This commit is contained in:
Sam Johnson
2023-07-13 05:05:04 -04:00
committed by GitHub
parent 0457c1a9e3
commit 3ee352b109
3 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -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" }
+2 -2
View File
@@ -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
//!