fix: add frame link definitions for rustdoc
Add [`frame`]: crate::pezkuwi_sdk::frame_runtime link definitions to all files using [`frame`] doc links to fix unresolved link errors in rustdoc build.
This commit is contained in:
@@ -330,6 +330,7 @@
|
||||
//! [`pezpallet::pezpallet`]: pezframe_support::pezpallet
|
||||
//! [`pezpallet::config`]: pezframe_support::pezpallet_macros::config
|
||||
//! [`pezpallet::generate_deposit`]: pezframe_support::pezpallet_macros::generate_deposit
|
||||
//! [`frame`]: crate::pezkuwi_sdk::frame_runtime
|
||||
|
||||
#[docify::export]
|
||||
#[pezframe::pezpallet(dev_mode)]
|
||||
|
||||
@@ -169,6 +169,7 @@
|
||||
//! [`crate::pezkuwi_sdk::templates`].
|
||||
//!
|
||||
//! [`SolochainDefaultConfig`]: struct@pezframe_system::pezpallet::config_preludes::SolochainDefaultConfig
|
||||
//! [`frame`]: crate::pezkuwi_sdk::frame_runtime
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
@@ -133,6 +133,8 @@
|
||||
//! - [`pezsc_consensus_beefy`] (TODO: @adrian, add some high level docs <https://github.com/pezkuwichain/pezkuwi-sdk/issues/305>)
|
||||
//! - [`pezsc_consensus_manual_seal`]
|
||||
//! - [`pezsc_consensus_pow`]
|
||||
//!
|
||||
//! [`frame`]: crate::pezkuwi_sdk::frame_runtime
|
||||
|
||||
#[doc(hidden)]
|
||||
pub use crate::pezkuwi_sdk;
|
||||
|
||||
@@ -112,3 +112,5 @@
|
||||
//! - <https://forum.polkadot.network/t/offchain-workers-design-assumptions-vulnerabilities/2548>
|
||||
//! - <https://exchange.pezkuwichain.app/questions/11058/how-can-i-create-ocw-that-wont-activates-every-block-but-will-activates-only-w/11060#11060>
|
||||
//! - [Offchain worker example](https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/bizinikiwi/pezframe/examples/offchain-worker)
|
||||
//!
|
||||
//! [`frame`]: crate::pezkuwi_sdk::frame_runtime
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
//!
|
||||
//! We call this class of documents "reference documents". Our goal should be to minimize the number
|
||||
//! of "reference" docs, as they incur maintenance burden.
|
||||
//!
|
||||
//! [`frame`]: crate::pezkuwi_sdk::frame_runtime
|
||||
|
||||
/// Learn how Bizinikiwi and FRAME use traits and associated types to make modules generic in a
|
||||
/// type-safe manner.
|
||||
|
||||
@@ -111,6 +111,8 @@
|
||||
//! - <https://github.com/pezkuwichain/pezkuwi-sdk/issues/326>
|
||||
//! - [Bizinikiwi Seminar - Traits and Generic Types](https://www.youtube.com/watch?v=6cp10jVWNl4)
|
||||
//! - <https://exchange.pezkuwichain.app/questions/2228/type-casting-to-trait-t-as-config>
|
||||
//!
|
||||
//! [`frame`]: crate::pezkuwi_sdk::frame_runtime
|
||||
#![allow(unused)]
|
||||
|
||||
use pezframe::traits::Get;
|
||||
|
||||
Reference in New Issue
Block a user