Skip to content
Myr

✏️ Fix a few small typos in the documentation (#1077)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sofie Van Landeghem · committed by GitHub · parent 9be60da · Browse files · 2 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−4 removed

  • other:+4 added−4 removed

2 files+4 added−4 removed

modified:docs/tutorial/options-autocompletion.md+1 added-1 removed
12 unmodified lines
13After installing completion for your own Python package (or using the `typer` command), when you use your CLI program and start adding a *CLI option* with `--` an then hit <kbd>TAB</kbd>, your shell will show you the available *CLI options* (the same for *CLI arguments*, etc).1415To check it quickly without creating a new Python package, use the `typer` command.1617Then let's create small example program:17Then let's create a small example program:1819{* docs_src/options_autocompletion/tutorial001_an.py *}2021And let's try it with the `typer` command to get completion:
365 unmodified lines
modified:docs/contributing.md+3 added-3 removed
72 unmodified lines
73## Completion7475To try and test the completion for different shells and check that they are working you can use a Docker container.7677There's a `Dockerfile` and a a Docker Compose file `compose.yaml` at `./scripts/docker/`.77There's a `Dockerfile` and a Docker Compose file `compose.yaml` at `./scripts/docker/`.7879It has installed `bash`, `zsh`, `fish`, and `pwsh` (PowerShell for Linux).8081It also has installed `nano` and `vim`, so that you can check the modified configuration files for the shells (for example `.bashrc`, `.zshrc`, etc).
154 unmodified lines
236That way, you can edit the documentation/source files and see the changes live.237238/// tip239240Alternatively, you can perform the same steps that scripts does manually.240Alternatively, you can perform the same steps that script does manually.241242Go into the docs director at `docs/`:242Go into the docs directory at `docs/`:243244```console245$ cd docs/246```
59 unmodified lines