Skip to content

Commit b61ce38

Browse files
authored
docs: fix off-by-one hl_lines in apps.md (#3196)
1 parent b7c9a91 commit b61ce38

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/advanced/apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ then come back.
2020

2121
## A clock with a face
2222

23-
```python title="server.py" hl_lines="18 21 29 31"
23+
```python title="server.py" hl_lines="19 22 30 32"
2424
--8<-- "docs_src/apps/tutorial001.py"
2525
```
2626

@@ -51,7 +51,7 @@ The model reads `content`; the iframe is for humans. A UI-capable host still fee
5151
the text result to the model, and a text-only client gets *only* that. So the
5252
canonical pattern is one tool, two answers. Look at `get_time` again:
5353

54-
```python title="server.py" hl_lines="22-26"
54+
```python title="server.py" hl_lines="23-27"
5555
--8<-- "docs_src/apps/tutorial001.py"
5656
```
5757

0 commit comments

Comments
 (0)