Skip to content

Commit b91a994

Browse files
committed
update docs format to latest on master
1 parent 42ce823 commit b91a994

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/tutorial/commands/name.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You can define aliases for commands so users can call them with different names.
6363

6464
Pass additional positional arguments to `@app.command()`:
6565

66-
{* docs_src/commands/name/tutorial002.py hl[6,9] *}
66+
{* docs_src/commands/name/tutorial002_py39.py hl[6,9] *}
6767

6868
The `list` command can be called with `list` or `ls`:
6969

@@ -110,15 +110,15 @@ Removing items
110110

111111
Use the `aliases` parameter:
112112

113-
{* docs_src/commands/name/tutorial002.py hl[9] *}
113+
{* docs_src/commands/name/tutorial002_py39.py hl[9] *}
114114

115115
Positional aliases and the `aliases` parameter can be combined.
116116

117117
### Hidden Aliases
118118

119119
Use `hidden_aliases` for aliases that work but don't appear in help:
120120

121-
{* docs_src/commands/name/tutorial003.py hl[6] *}
121+
{* docs_src/commands/name/tutorial003_py39.py hl[6] *}
122122

123123
<div class="termy">
124124

File renamed without changes.
File renamed without changes.

tests/test_tutorial/test_commands/test_name/test_tutorial002.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typer.testing import CliRunner
22

3-
from docs_src.commands.name import tutorial002 as mod
3+
from docs_src.commands.name import tutorial002_py39 as mod
44

55
app = mod.app
66

tests/test_tutorial/test_commands/test_name/test_tutorial003.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typer.testing import CliRunner
22

3-
from docs_src.commands.name import tutorial003 as mod
3+
from docs_src.commands.name import tutorial003_py39 as mod
44

55
app = mod.app
66

0 commit comments

Comments
 (0)