From 234f0dd809c636cee3db04e6d6ba70b9053c306b Mon Sep 17 00:00:00 2001
From: Sasha Gryaznov <hi@agryaznov.com>
Date: Thu, 11 May 2023 23:19:36 +0300
Subject: [PATCH] docs: fix build command and some broken links (#2567)

---
 cumulus/README.md                                      |  8 ++++----
 .../runtimes/contracts/contracts-rococo/README.md      | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/cumulus/README.md b/cumulus/README.md
index d1828eafce1..d8c8b204b72 100644
--- a/cumulus/README.md
+++ b/cumulus/README.md
@@ -179,7 +179,7 @@ To run a Statemine or Westmint node (Statemint is not deployed, yet) you will ne
 `polkadot-parachain` binary:
 
 ```bash
-cargo build --release --locked -p polkadot-parachain
+cargo build --release --locked --bin polkadot-parachain
 ```
 
 Once the executable is built, launch the parachain node via:
@@ -189,7 +189,7 @@ CHAIN=westmint # or statemine
 ./target/release/polkadot-parachain --chain $CHAIN
 ```
 
-Refer to the [setup instructions](#local-setup) to run a local network for development.
+Refer to the [setup instructions](#manual-setup) to run a local network for development.
 
 ## Contracts 📝
 
@@ -219,7 +219,7 @@ eventually be included by the relay chain for a parachain.
 To run a Rococo collator you will need to compile the following binary:
 
 ```bash
-cargo build --release --locked -p polkadot-parachain
+cargo build --release --locked --bin polkadot-parachain
 ```
 
 Otherwise you can compile it with
@@ -228,7 +228,7 @@ Otherwise you can compile it with
 ```bash
 docker run --rm -it -w /shellhere/cumulus \
                     -v $(pwd):/shellhere/cumulus \
-                    paritytech/ci-linux:production cargo build --release --locked -p polkadot-parachain
+                    paritytech/ci-linux:production cargo build --release --locked --bin polkadot-parachain
 sudo chown -R $(id -u):$(id -g) target/
 ```
 
diff --git a/cumulus/parachains/runtimes/contracts/contracts-rococo/README.md b/cumulus/parachains/runtimes/contracts/contracts-rococo/README.md
index 973d84a14b8..e4f15ccf92d 100644
--- a/cumulus/parachains/runtimes/contracts/contracts-rococo/README.md
+++ b/cumulus/parachains/runtimes/contracts/contracts-rococo/README.md
@@ -45,7 +45,7 @@ To run a Contracts node that connects to Rococo
 you will need to compile the `polkadot-parachain` binary:
 
 ```bash
-cargo build --release --locked -p polkadot-parachain
+cargo build --release --locked --bin polkadot-parachain
 ```
 
 Once the executable is built, launch the parachain node via:
@@ -54,7 +54,7 @@ Once the executable is built, launch the parachain node via:
 ./target/release/polkadot-parachain --chain contracts-rococo
 ```
 
-Refer to the [setup instructions below](#local-setup) to run a local network for development.
+Refer to the [setup instructions](https://github.com/paritytech/cumulus#manual-setup) to run a local network for development.
 
 ### Rococo Deployment
 
@@ -70,8 +70,8 @@ Due to this you'll need `ROC` in order to deploy contracts on this parachain.
 As a first step, you should create an account. See [here](https://wiki.polkadot.network/docs/learn-account-generation)
 for a detailed guide.
 
-As a second step, you have to get `ROC` testnet tokens through the [Rococo Faucet](https://wiki.polkadot.network/docs/learn-DOT#getting-rococo-tokens).
-This is a chat room in which you need to write:
+As a second step, you have to get `ROC` testnet tokens through the [Rococo Faucet](https://wiki.polkadot.network/docs/learn-DOT#obtaining-testnet-tokens).
+This is a chat room in which you'd need to post the following message:
 
 ```bash
 !drip YOUR_SS_58_ADDRESS:1002
@@ -84,5 +84,5 @@ If everything worked out, the teleported `ROC` tokens will show up under
 [the "Accounts" tab](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-contracts-rpc.polkadot.io#/accounts).
 
 Once you have `ROC` you can deploy a contract as you would normally.
-If you're unsure about this, our [guided tutorial](https://docs.substrate.io/tutorials/v3/ink-workshop/pt1/)
+If you're unsure about this, our [guided tutorial](https://use.ink/getting-started/deploy-your-contract)
 will clarify that for you in no time.
-- 
GitLab