Skip to content

Commit df20d10

Browse files
committed
[site] fix uv build, add version indicator
1 parent f671f0b commit df20d10

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

site/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1-
# site
1+
# The nextest site
22

3-
Describe your project here.
3+
The nextest site ([nexte.st](https://nexte.st/)) is generated using [Material
4+
for MkDocs](https://squidfunk.github.io/mkdocs-material/).
5+
6+
For building and serving the site, [`uv`](https://docs.astral.sh/uv/) is
7+
recommended. After installing it, run:
8+
9+
```
10+
uv run mkdocs serve
11+
```

site/pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ dependencies = [
1515
readme = "README.md"
1616
requires-python = ">= 3.8"
1717

18-
[tool.rye]
19-
managed = true
20-
dev-dependencies = []
18+
[build-system]
19+
requires = ["hatchling"]
20+
build-backend = "hatchling.build"
21+
22+
[tool.hatch.build.targets.wheel]
23+
packages = ["src/ext"]

site/src/docs/configuration/env-vars.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ Nextest also sets these environment variables at runtime, matching the behavior
150150

151151
Only set if the crate has a build script.
152152

153-
Additionally, environment variables specified in [the `[env]` section of `.cargo/config.toml`](https://doc.rust-lang.org/cargo/reference/config.html#env) are also set.
153+
Additionally, the following environment variables are also set:
154154

155-
Since `cargo test` also sets variables specified in the build script via [`cargo::rustc-env`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-env) at test runtime, `nextest` does the same.
156-
However, note that [`cargo` discourages using these variables at runtime](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-env).
155+
* Variables defined by [the `[env]` section of `.cargo/config.toml`](https://doc.rust-lang.org/cargo/reference/config.html#env).
156+
* <!-- md:version 0.9.82 --> Variables specified in the build script via [`cargo::rustc-env`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-env). However, note that [`cargo` discourages using these variables at runtime](https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-env).
157157

158158
### Dynamic library paths
159159

0 commit comments

Comments
 (0)