From 7740d7838f448757ef233b3df0e7f326fbf812e2 Mon Sep 17 00:00:00 2001 From: Francisco Aguirre Date: Thu, 23 May 2024 13:52:12 +0200 Subject: [PATCH 1/2] doc: mention new XCM docs in sdk docs --- docs/sdk/Cargo.toml | 1 + docs/sdk/src/polkadot_sdk/xcm.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/sdk/Cargo.toml b/docs/sdk/Cargo.toml index 4a4f333de793..f9812dbd044b 100644 --- a/docs/sdk/Cargo.toml +++ b/docs/sdk/Cargo.toml @@ -100,3 +100,4 @@ sp-version = { path = "../../substrate/primitives/version" } # XCM xcm = { package = "staging-xcm", path = "../../polkadot/xcm" } +xcm-docs = { path = "../../polkadot/xcm/docs" } diff --git a/docs/sdk/src/polkadot_sdk/xcm.rs b/docs/sdk/src/polkadot_sdk/xcm.rs index 5dcdc9e1de07..ea01cdea4466 100644 --- a/docs/sdk/src/polkadot_sdk/xcm.rs +++ b/docs/sdk/src/polkadot_sdk/xcm.rs @@ -50,7 +50,7 @@ //! //! ## Get started //! -//! To learn how it works and to get started, go to the [XCM docs](https://paritytech.github.io/xcm-docs/). +//! To learn how it works and to get started, go to the [XCM docs](xcm-docs). #[cfg(test)] mod tests { From 92e0e499eaec7425918894704ba555a7b2078beb Mon Sep 17 00:00:00 2001 From: Francisco Aguirre Date: Thu, 23 May 2024 19:18:28 +0200 Subject: [PATCH 2/2] fix: link --- Cargo.lock | 1 + docs/sdk/src/polkadot_sdk/xcm.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index e3a72ca23d88..55f78cc4cd35 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13984,6 +13984,7 @@ dependencies = [ "staging-xcm", "subkey", "substrate-wasm-builder", + "xcm-docs", ] [[package]] diff --git a/docs/sdk/src/polkadot_sdk/xcm.rs b/docs/sdk/src/polkadot_sdk/xcm.rs index ea01cdea4466..58f540686424 100644 --- a/docs/sdk/src/polkadot_sdk/xcm.rs +++ b/docs/sdk/src/polkadot_sdk/xcm.rs @@ -50,7 +50,7 @@ //! //! ## Get started //! -//! To learn how it works and to get started, go to the [XCM docs](xcm-docs). +//! To learn how it works and to get started, go to the [XCM docs](xcm_docs). #[cfg(test)] mod tests {