From f992532f781fdc280805122e8f45b7fadf1f41ba Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 16 Jul 2024 09:54:06 -0400 Subject: [PATCH] Fix benchmark image in documentation (#5102) --- docs/index.md | 4 ++-- scripts/transform_readme.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index e26dfa766..373e02ba0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,11 +9,11 @@ An extremely fast Python package installer and resolver, written in Rust. Design replacement for common `pip` and `pip-tools` workflows.

- Shows a bar chart with benchmark results. + Shows a bar chart with benchmark results.

- Shows a bar chart with benchmark results. + Shows a bar chart with benchmark results.

diff --git a/scripts/transform_readme.py b/scripts/transform_readme.py index ada2a176d..b8f11fbe0 100644 --- a/scripts/transform_readme.py +++ b/scripts/transform_readme.py @@ -14,6 +14,7 @@ from pathlib import Path import tomllib +# To be kept in sync with: `docs/index.md` URL = "https://github.com/astral-sh/uv/assets/1309177/{}" URL_LIGHT = URL.format("629e59c0-9c6e-4013-9ad4-adb2bcf5080d") URL_DARK = URL.format("03aa9163-1c79-4a87-a31d-7a9311ed9310")