Skip to content

Commit

Permalink
Cleanup repo (a tiny bit) (#1382)
Browse files Browse the repository at this point in the history
* Delete stale adoc files

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Convert adoc to md

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add adoc to gitignore

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Delete more random unmaintained files

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Markdown lint

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Sep 4, 2023
1 parent be761b7 commit 2f242e0
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 910 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.local
.vscode
.wasm-binaries
*.adoc
*.bin
*.iml
*.orig
Expand Down
24 changes: 0 additions & 24 deletions cumulus/bridges/rustfmt.toml

This file was deleted.

52 changes: 0 additions & 52 deletions polkadot/RELEASE.md

This file was deleted.

91 changes: 0 additions & 91 deletions polkadot/doc/release-checklist.md

This file was deleted.

5 changes: 0 additions & 5 deletions polkadot/node/service/README.adoc

This file was deleted.

5 changes: 0 additions & 5 deletions polkadot/parachain/README.adoc

This file was deleted.

5 changes: 0 additions & 5 deletions polkadot/primitives/README.adoc

This file was deleted.

5 changes: 0 additions & 5 deletions polkadot/runtime/polkadot/README.adoc

This file was deleted.

5 changes: 0 additions & 5 deletions polkadot/src/README.adoc

This file was deleted.

5 changes: 0 additions & 5 deletions polkadot/statement-table/README.adoc

This file was deleted.

6 changes: 0 additions & 6 deletions substrate/.maintain/getgoing.sh

This file was deleted.

34 changes: 0 additions & 34 deletions substrate/.maintain/runtime-dep.py

This file was deleted.

9 changes: 0 additions & 9 deletions substrate/.maintain/update-deps.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Shell completion

== Shell completion

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.
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.

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

[source, shell]
source target/release/completion-scripts/substrate.bash
`source target/release/completion-scripts/substrate.bash`

You can find completion scripts for:
- bash
Expand All @@ -17,25 +16,19 @@ You can find completion scripts for:

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

.First install

[source, shell]
----
```shell
COMPL_DIR=$HOME/.completion
mkdir -p $COMPL_DIR
cp -f target/release/completion-scripts/substrate.bash $COMPL_DIR/
echo "source $COMPL_DIR/substrate.bash" >> $HOME/.bash_profile
source $HOME/.bash_profile
----

.Update
```

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

[source, shell]
----
```shell
COMPL_DIR=$HOME/.completion
mkdir -p $COMPL_DIR
cp -f target/release/completion-scripts/substrate.bash $COMPL_DIR/
source $HOME/.bash_profile
----
```
6 changes: 0 additions & 6 deletions substrate/client/cli/README.adoc

This file was deleted.

Loading

0 comments on commit 2f242e0

Please sign in to comment.