fix: update pezkuwi-subxt copyright and fix doc test paths
- Update copyright from 'Parity Technologies (UK) Ltd.' to 'Dijital Kurdistan Tech Institute' - Update year to 2026 - Mark doc tests with relative metadata paths as 'ignore' to fix workspace-level doc tests - Affected files: runtime_apis.rs, storage.rs, constants.rs, transactions.rs, codegen.rs The doc tests use relative paths like '../artifacts/*.scale' which only work when testing the crate directly (-p pezkuwi-subxt), not during workspace-level tests. The examples/ directory contains the actual runnable test code.
This commit is contained in:
+4
-2
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2019-2026 Dijital Kurdistan Tech Institute
|
||||
// This file is dual-licensed as Apache-2.0 or GPL-3.0.
|
||||
// see LICENSE for license details.
|
||||
|
||||
@@ -13,7 +13,9 @@
|
||||
//! The most common way to generate the interface is to use the [`#[subxt]`](crate::subxt) macro.
|
||||
//! Using this macro looks something like:
|
||||
//!
|
||||
//! ```rust,no_run,standalone_crate
|
||||
//! ```rust,ignore
|
||||
//! // Note: This example uses a relative path that only works when testing this crate directly.
|
||||
//! // For workspace-level doc tests, this is ignored. See examples/ for runnable code.
|
||||
//! #[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_tiny.scale")]
|
||||
//! pub mod pezkuwi {}
|
||||
//! ```
|
||||
|
||||
Reference in New Issue
Block a user