-
-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rust): add examples and about sections to markdown generated docs
- Loading branch information
1 parent
437e1a7
commit 1b7d42a
Showing
79 changed files
with
647 additions
and
645 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 8 additions & 3 deletions
11
implementations/rust/ockam/ockam_command/src/completion/mod.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
implementations/rust/ockam/ockam_command/src/completion/static/after_long_help.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
```sh | ||
# BASH | ||
$ ockam completion --shell bash > /usr/share/bash-completion/completions/ockam.bash | ||
|
||
# ZSH | ||
$ ockam completion --shell zsh > /usr/local/share/zsh/site-functions/_ockam | ||
|
||
# FISH | ||
$ ockam completion --shell fish > ~/.config/fish/completions/ockam.fish | ||
``` |
8 changes: 8 additions & 0 deletions
8
implementations/rust/ockam/ockam_command/src/completion/static/long_about.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Generate shell completion scripts for Ockam commands. | ||
|
||
If you’ve installed `ockam` command using a package manager, you likely | ||
don't need to do any additional shell configuration to gain completion support. | ||
|
||
If you need to set up completions manually, follow the instructions below. | ||
The exact configuration file locations might vary based on your system. Remember | ||
to restart your shell before testing whether completions are working. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
implementations/rust/ockam/ockam_command/src/constants/completion/help_detail.txt
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
implementations/rust/ockam/ockam_command/src/constants/forwarder/help_detail.txt
This file was deleted.
Oops, something went wrong.
76 changes: 0 additions & 76 deletions
76
implementations/rust/ockam/ockam_command/src/constants/lib/help_detail.txt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.