Skip to content

Commit b3ec145

Browse files
committed
fix: Update broken polkadot.com documentation links
Replace deprecated polkadot.com URLs (returning 404 after site redesign) with current equivalents: - bags-list: staking-update-september-2021 -> wiki.polkadot.com/docs/learn-staking-advanced#bags-list - fast-unstake: staking-update-february-2022 -> wiki.polkadot.com/learn/learn-nominator - favicon: Use existing paritytech PNG logo (ICO was removed) - papers: polkadot.com/papers -> github.com/polkadot-io/polkadot-white-paper - approval checking blog: polkadot.com/blog -> wiki.polkadot.com/docs/learn-parachains-protocol
1 parent 20718ab commit b3ec145

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

docs/sdk/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
#![warn(rustdoc::private_intra_doc_links)]
2626
// Frame macros reference features which this crate does not have
2727
#![allow(unexpected_cfgs)]
28-
#![doc(html_favicon_url = "https://polkadot.com/favicon.ico")]
28+
#![doc(
29+
html_favicon_url = "https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/docs/images/Polkadot_Logo_Horizontal_Pink_White.png"
30+
)]
2931
#![doc(
3032
html_logo_url = "https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/docs/images/Polkadot_Logo_Horizontal_Pink_White.png"
3133
)]

docs/sdk/src/polkadot_sdk/polkadot.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//! - [Dashboard](https://polkadot-fellows.github.io/dashboard/)
1515
//! - [Polkadot Specs](http://spec.polkadot.network)
1616
//! - [The Polkadot Parachain Host Implementers' Guide](https://paritytech.github.io/polkadot-sdk/book/)
17-
//! - [Polkadot papers](https://polkadot.com/papers/)
17+
//! - [Polkadot papers](https://github.com/polkadot-io/polkadot-white-paper)
1818
//! - [JAM Graypaper](https://graypaper.com)
1919
//!
2020
//! ## Alternative Node Implementations 🌈
@@ -54,7 +54,7 @@
5454
//! the validity of the block execution of multiple parachains using the same set of validators as
5555
//! the Relay Chain. In practice, this means that the shards (parachains) share the same economic
5656
//! security as the Relay Chain.
57-
//! Learn about this process called [Approval Checking](https://polkadot.com/blog/polkadot-v1-0-sharding-and-economic-security#approval-checking-and-finality).
57+
//! Learn about this process called [Approval Checking](https://wiki.polkadot.com/docs/learn-parachains-protocol).
5858
//! * A framework to build blockchains: In order to materialize the ecosystem of parachains, an easy
5959
//! blockchain framework must exist. This is [Substrate](crate::polkadot_sdk::substrate),
6060
//! [FRAME](crate::polkadot_sdk::frame_runtime) and [Cumulus](crate::polkadot_sdk::cumulus).

polkadot/roadmap/implementers-guide/src/node/backing/statement-distribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ in case of disputes. Any validator can be selected as the next relay-chain block
2222
advance for security reasons. As a result, all validators must have a up to date view of all possible parachain
2323
candidates + backing statements that could be placed on-chain in the next block.
2424

25-
[This blog post](https://polkadot.com/blog/polkadot-v1-0-sharding-and-economic-security) puts it another way:
25+
[The wiki](https://wiki.polkadot.com/docs/learn-parachains-protocol) puts it another way:
2626
"Validators who aren't assigned to the parachain still listen for the attestations [statements] because whichever
2727
validator ends up being the author of the relay-chain block needs to bundle up attested parachain blocks for several
2828
parachains and place them into the relay-chain block."

substrate/frame/bags-list/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
//! can be used.
5555
//!
5656
//! Additional reading, about how this pallet is used in the context of Polkadot's staking system:
57-
//! <https://polkadot.com/blog/staking-update-september-2021/#bags-list-in-depth>
57+
//! <https://wiki.polkadot.com/docs/learn-staking-advanced#bags-list>
5858
//!
5959
//! ## Examples
6060
//!

substrate/frame/fast-unstake/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
//! *Being exposed with validator* from the point of view of the staking system means earning
4040
//! rewards with the validator, and also being at the risk of slashing with the validator. This is
4141
//! equivalent to the "Active Nominator" role explained in
42-
//! [here](https://polkadot.com/blog/staking-update-february-2022/).
42+
//! [here](https://wiki.polkadot.com/learn/learn-nominator/).
4343
//!
4444
//! Stakers who are certain about NOT being exposed can register themselves with
4545
//! [`Pallet::register_fast_unstake`]. This will chill, fully unbond the staker and place them

0 commit comments

Comments
 (0)