mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 05:15:00 +00:00
Fix benchmark image in documentation (#5102)
This commit is contained in:
parent
81ee17f8e5
commit
f992532f78
2 changed files with 3 additions and 2 deletions
|
@ -9,11 +9,11 @@ An extremely fast Python package installer and resolver, written in Rust. Design
|
|||
replacement for common `pip` and `pip-tools` workflows.
|
||||
|
||||
<p align="center">
|
||||
<img alt="Shows a bar chart with benchmark results." src="{URL_LIGHT}#only-light">
|
||||
<img alt="Shows a bar chart with benchmark results." src="https://github.com/astral-sh/uv/assets/1309177/629e59c0-9c6e-4013-9ad4-adb2bcf5080d#only-light">
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img alt="Shows a bar chart with benchmark results." src="{URL_DARK}#only-dark">
|
||||
<img alt="Shows a bar chart with benchmark results." src="https://github.com/astral-sh/uv/assets/1309177/03aa9163-1c79-4a87-a31d-7a9311ed9310#only-dark">
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue