mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
![]() ## Summary This approach is based on https://github.com/PrefectHQ/docs. Rather than publishing docs in the uv repo, we push to an independent repo that's used solely to house the docs. In Prefect's case, this allows them to publish versioned documentation (we should do that too). For us, though, the benefit is that we can publish the Ruff and uv docs as a single site (docs.astral.sh). Prefect clones the source repo and builds the documentation from the `docs` repo (i.e., the action runs in the `docs` repo). In our case, I've instead set it up such that the action runs in `uv` (and later in `ruff` too), clones the `docs` repo, and puts up a PR in that separate repo. Because of these requirements, we have to use a PAT rather than a deploy key (as PATs cannot do GitHub-specific things like create PRs -- they can only operate over the Git CLI). See: https://github.com/astral-sh/docs/pull/2. |
||
---|---|---|
.. | ||
workflows | ||
ISSUE_TEMPLATE.md | ||
PULL_REQUEST_TEMPLATE.md | ||
renovate.json5 |