mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
29369a4e7c
Does the following: - Add a reference doc page named `frame_runtime_types`, which explains what types like `RuntimeOrigin`, `RuntimeCall` etc are. - On top of it, it adds a reference doc page called `frame_origin` which explains a few important patterns that we use around origins - And finally brushes up `#[frame::origin]` docs. - Updates the theme, sidebar and favicon to look like: <img width="1728" alt="Screenshot 2024-02-20 at 12 16 00" src="https://github.com/paritytech/polkadot-sdk/assets/5588131/6d60a16b-2081-411b-8869-43b91920cca9"> All of this was inspired by https://substrate.stackexchange.com/questions/10992/how-do-you-find-the-public-key-for-the-medium-spender-track-origin/10993 closes https://github.com/paritytech/polkadot-sdk-docs/issues/45 closes https://github.com/paritytech/polkadot-sdk-docs/issues/43 contributes / overlaps with https://github.com/paritytech/polkadot-sdk/pull/2638 cc @liamaharon deprecation companion: https://github.com/substrate-developer-hub/substrate-docs/pull/2131 pba-content companion: https://github.com/Polkadot-Blockchain-Academy/pba-content/pull/977 --------- Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com> Co-authored-by: Sebastian Kunert <skunert49@gmail.com> Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
83 lines
3.5 KiB
TOML
83 lines
3.5 KiB
TOML
[package]
|
|
name = "polkadot-sdk-docs"
|
|
description = "The one stop shop for developers of the polakdot-sdk"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
homepage = "paritytech.github.io"
|
|
repository.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
# This crate is not publish-able to crates.io for now because of docify.
|
|
publish = false
|
|
version = "0.0.1"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
# Needed for all FRAME-based code
|
|
parity-scale-codec = { version = "3.0.0", default-features = false }
|
|
scale-info = { version = "2.6.0", default-features = false }
|
|
frame = { path = "../../substrate/frame", features = [
|
|
"experimental",
|
|
"runtime",
|
|
] }
|
|
pallet-examples = { path = "../../substrate/frame/examples" }
|
|
pallet-default-config-example = { path = "../../substrate/frame/examples/default-config" }
|
|
|
|
# How we build docs in rust-docs
|
|
simple-mermaid = "0.1.1"
|
|
docify = "0.2.7"
|
|
|
|
# Polkadot SDK deps, typically all should only be in scope such that we can link to their doc item.
|
|
node-cli = { package = "staging-node-cli", path = "../../substrate/bin/node/cli" }
|
|
kitchensink-runtime = { path = "../../substrate/bin/node/runtime" }
|
|
chain-spec-builder = { package = "staging-chain-spec-builder", path = "../../substrate/bin/utils/chain-spec-builder" }
|
|
subkey = { path = "../../substrate/bin/utils/subkey" }
|
|
|
|
# Substrate
|
|
sc-network = { path = "../../substrate/client/network" }
|
|
sc-rpc-api = { path = "../../substrate/client/rpc-api" }
|
|
sc-rpc = { path = "../../substrate/client/rpc" }
|
|
sc-client-db = { path = "../../substrate/client/db" }
|
|
sc-cli = { path = "../../substrate/client/cli" }
|
|
sc-consensus-aura = { path = "../../substrate/client/consensus/aura" }
|
|
sc-consensus-babe = { path = "../../substrate/client/consensus/babe" }
|
|
sc-consensus-grandpa = { path = "../../substrate/client/consensus/grandpa" }
|
|
sc-consensus-beefy = { path = "../../substrate/client/consensus/beefy" }
|
|
sc-consensus-manual-seal = { path = "../../substrate/client/consensus/manual-seal" }
|
|
sc-consensus-pow = { path = "../../substrate/client/consensus/pow" }
|
|
substrate-wasm-builder = { path = "../../substrate/utils/wasm-builder" }
|
|
|
|
# Cumulus
|
|
cumulus-pallet-aura-ext = { path = "../../cumulus/pallets/aura-ext" }
|
|
cumulus-pallet-parachain-system = { path = "../../cumulus/pallets/parachain-system", features = [
|
|
"parameterized-consensus-hook",
|
|
] }
|
|
parachain-info = { package = "staging-parachain-info", path = "../../cumulus/parachains/pallets/parachain-info" }
|
|
pallet-aura = { path = "../../substrate/frame/aura", default-features = false }
|
|
|
|
# Pallets and FRAME internals
|
|
pallet-timestamp = { path = "../../substrate/frame/timestamp" }
|
|
pallet-balances = { path = "../../substrate/frame/balances" }
|
|
pallet-transaction-payment = { path = "../../substrate/frame/transaction-payment" }
|
|
pallet-utility = { path = "../../substrate/frame/utility" }
|
|
pallet-multisig = { path = "../../substrate/frame/multisig" }
|
|
pallet-proxy = { path = "../../substrate/frame/proxy" }
|
|
pallet-authorship = { path = "../../substrate/frame/authorship" }
|
|
pallet-collective = { path = "../../substrate/frame/collective" }
|
|
pallet-democracy = { path = "../../substrate/frame/democracy" }
|
|
frame-system = { path = "../../substrate/frame/system" }
|
|
|
|
# Primitives
|
|
sp-io = { path = "../../substrate/primitives/io" }
|
|
sp-api = { path = "../../substrate/primitives/api" }
|
|
sp-core = { path = "../../substrate/primitives/core" }
|
|
sp-keyring = { path = "../../substrate/primitives/keyring" }
|
|
sp-runtime = { path = "../../substrate/primitives/runtime" }
|
|
|
|
# XCM
|
|
xcm = { package = "staging-xcm", path = "../../polkadot/xcm" }
|
|
|
|
[features]
|
|
experimental = ["pallet-aura/experimental"]
|