From e178cc1b7a29c25055dd2b0f3367273947b2e59e Mon Sep 17 00:00:00 2001 From: Ori Shamir Date: Tue, 15 Apr 2025 23:39:56 +0300 Subject: [PATCH] docs: Fix highlight line in explicit index documentation (#12887) ## Summary Fix the highlighted line in [Index Documentation](https://docs.astral.sh/uv/concepts/projects/dependencies/#index) (towards the end of the section) - the `explicit = true` line should be highlighted. ## Test Plan Docs. --- docs/concepts/projects/dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/projects/dependencies.md b/docs/concepts/projects/dependencies.md index 443e04dd1..0aec5a676 100644 --- a/docs/concepts/projects/dependencies.md +++ b/docs/concepts/projects/dependencies.md @@ -261,7 +261,7 @@ When defining an index, an `explicit` flag can be included to indicate that the be used for packages that explicitly specify it in `tool.uv.sources`. If `explicit` is not set, other packages may be resolved from the index, if not found elsewhere. -```toml title="pyproject.toml" hl_lines="3" +```toml title="pyproject.toml" hl_lines="4" [[tool.uv.index]] name = "pytorch" url = "https://download.pytorch.org/whl/cpu"