From a1d59a75805dd5ad08dbe7cb7ac4956beaf27ac0 Mon Sep 17 00:00:00 2001 From: Patrick Wehbe Date: Sat, 20 Jun 2026 22:17:56 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Fix=20out-of-range=20highlight?= =?UTF-8?q?=20in=20advanced=20settings=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The config.py embed used hl[10] but the file is only 7 lines long, so it highlighted a non-existent line. It was a leftover from the app01 example where line 10 was `settings = Settings()`. The prose just below confirms it: "Notice that now we don't create a default instance `settings = Settings()`." --- docs/en/docs/advanced/settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/docs/advanced/settings.md b/docs/en/docs/advanced/settings.md index ff313f088..4746a93c1 100644 --- a/docs/en/docs/advanced/settings.md +++ b/docs/en/docs/advanced/settings.md @@ -126,7 +126,7 @@ This could be especially useful during testing, as it's very easy to override a Coming from the previous example, your `config.py` file could look like: -{* ../../docs_src/settings/app02_an_py310/config.py hl[10] *} +{* ../../docs_src/settings/app02_an_py310/config.py *} Notice that now we don't create a default instance `settings = Settings()`.