From b61ce388dd9fe3ec202a68331f218b4ed740f0fa Mon Sep 17 00:00:00 2001 From: Max <224885523+maxisbey@users.noreply.github.com> Date: Tue, 28 Jul 2026 00:04:57 +0100 Subject: [PATCH] docs: fix off-by-one hl_lines in apps.md (#3196) --- docs/advanced/apps.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced/apps.md b/docs/advanced/apps.md index 87e260f0..a60c997b 100644 --- a/docs/advanced/apps.md +++ b/docs/advanced/apps.md @@ -20,7 +20,7 @@ then come back. ## A clock with a face -```python title="server.py" hl_lines="18 21 29 31" +```python title="server.py" hl_lines="19 22 30 32" --8<-- "docs_src/apps/tutorial001.py" ``` @@ -51,7 +51,7 @@ The model reads `content`; the iframe is for humans. A UI-capable host still fee the text result to the model, and a text-only client gets *only* that. So the canonical pattern is one tool, two answers. Look at `get_time` again: -```python title="server.py" hl_lines="22-26" +```python title="server.py" hl_lines="23-27" --8<-- "docs_src/apps/tutorial001.py" ```