Fix doc build with --all-features (#8277)

* implement

* make default pre/post_upgrade

* simplify Cargo.toml

* revert removal of outdated/private links

* link in pallet-mmr
This commit is contained in:
Guillaume Thiolliere
2021-03-05 16:08:44 +01:00
committed by GitHub
parent d0530d0f2a
commit 9c4e4d453c
40 changed files with 59 additions and 57 deletions
+9 -8
View File
@@ -109,18 +109,19 @@ pub struct Params<B: BlockT, H: ExHashT> {
/// protocol name. In addition all of [`RequestResponseConfig`] is used to handle incoming block
/// requests, if enabled.
///
/// Can be constructed either via [`block_request_handler::generate_protocol_config`] allowing
/// outgoing but not incoming requests, or constructed via
/// [`block_request_handler::BlockRequestHandler::new`] allowing both outgoing and incoming
/// requests.
/// Can be constructed either via [`crate::block_request_handler::generate_protocol_config`]
/// allowing outgoing but not incoming requests, or constructed via
/// [`crate::block_request_handler::BlockRequestHandler::new`] allowing both outgoing and
/// incoming requests.
pub block_request_protocol_config: RequestResponseConfig,
/// Request response configuration for the light client request protocol.
///
/// Can be constructed either via [`light_client_requests::generate_protocol_config`] allowing
/// outgoing but not incoming requests, or constructed via
/// [`light_client_requests::handler::LightClientRequestHandler::new`] allowing both outgoing
/// and incoming requests.
/// Can be constructed either via
/// [`crate::light_client_requests::generate_protocol_config`] allowing outgoing but not
/// incoming requests, or constructed via
/// [`crate::light_client_requests::handler::LightClientRequestHandler::new`] allowing
/// both outgoing and incoming requests.
pub light_client_request_protocol_config: RequestResponseConfig,
}
@@ -60,7 +60,7 @@ pub struct LightClientRequestHandler<B: Block> {
}
impl<B: Block> LightClientRequestHandler<B> {
/// Create a new [`BlockRequestHandler`].
/// Create a new [`crate::block_request_handler::BlockRequestHandler`].
pub fn new(
protocol_id: &ProtocolId,
client: Arc<dyn Client<B>>,