Skip to content

Commit 2675915

Browse files
authored
Cleanup repo (a tiny bit) (paritytech#1382)
* Delete stale adoc files Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Convert adoc to md Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add adoc to gitignore Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Delete more random unmaintained files Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Markdown lint Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]>
1 parent 784faad commit 2675915

File tree

7 files changed

+8
-713
lines changed

7 files changed

+8
-713
lines changed

substrate/.maintain/getgoing.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

substrate/.maintain/runtime-dep.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

substrate/.maintain/update-deps.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
# Shell completion
12

2-
== Shell completion
3-
4-
The Substrate cli command supports shell auto-completion. For this to work, you will need to run the completion script matching your build and system.
3+
The Substrate cli command supports shell auto-completion. For this to work, you will need to run the
4+
completion script matching your build and system.
55

66
Assuming you built a release version using `cargo build --release` and use `bash` run the following:
77

8-
[source, shell]
9-
source target/release/completion-scripts/substrate.bash
8+
`source target/release/completion-scripts/substrate.bash`
109

1110
You can find completion scripts for:
1211
- bash
@@ -17,25 +16,19 @@ You can find completion scripts for:
1716

1817
To make this change persistent, you can proceed as follows:
1918

20-
.First install
21-
22-
[source, shell]
23-
----
19+
```shell
2420
COMPL_DIR=$HOME/.completion
2521
mkdir -p $COMPL_DIR
2622
cp -f target/release/completion-scripts/substrate.bash $COMPL_DIR/
2723
echo "source $COMPL_DIR/substrate.bash" >> $HOME/.bash_profile
2824
source $HOME/.bash_profile
29-
----
30-
31-
.Update
25+
```
3226

3327
When you build a new version of Substrate, the following will ensure your auto-completion script matches the current binary:
3428

35-
[source, shell]
36-
----
29+
```shell
3730
COMPL_DIR=$HOME/.completion
3831
mkdir -p $COMPL_DIR
3932
cp -f target/release/completion-scripts/substrate.bash $COMPL_DIR/
4033
source $HOME/.bash_profile
41-
----
34+
```

substrate/client/cli/README.adoc

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)