GitHub - airbagdeer/astral-docs-offline: astral docs didnt have a version letting the website run offline (or on prem). So I created one.

Astral Documentation (Offline)

This repository provides a solution for running the Astral toolchain documentation offline. It includes the pre-built static site for: Ruff, uv, and ty.

Running Offline

Using Docker

  1. Build the image:
    docker build -t astral-docs .
  2. Run the container:
    docker run -d -p 8080:8080 astral-docs
  3. Open http://localhost:8080

Using Python

  1. Run the server:
    python -m http.server 8000 --directory site
  2. Open http://localhost:8000

License

uv is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in uv by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.

Made by Astral